Whatever message this page gives is out now! Go check it out!

Mathematical functions

Last update:
May 18, 2026
FunctionDescription
AbsReturns the absolute value of a number.
ACosReturns the arccosine, in radians, of a number.
ArrayAvgReturns the average of the elements in an array.
ArraySumReturns the sum of all elements in an array.
ASinDetermines the arcsine of a number.
AtnReturns the arctangent, in radians, of a number.
BitAndPerforms a bitwise logical AND operation.
BitMaskClearPerforms a bitwise mask clear operation.
BitMaskReadPerforms a bitwise mask read operation.
BitMaskSetPerforms a bitwise mask set operation.
BitNotPerforms a bitwise logical NOT operation.
BitOrPerforms a bitwise logical OR operation.
BitSHLNPerforms a bitwise shift-left, no-rotation operation.
BitSHRNPerforms a bitwise shift-right, no-rotation operation.
BitXorPerforms a bitwise logical XOR operation.
CeilingDetermines the closest integer that is greater than a specified number.
CosCalculates the cosine of an angle that is entered in radians.
DecrementValueDecrements the integer part of a number.
ExpCalculates the exponent whose base is e that represents number.
FixConverts a real number to an integer.
FloorReturns the largest integer less than or equal to a specified number.
FormatBaseNConverts number to a string, in the base specified by a radix.
IncrementValueAdds one to an integer.
InputBaseNConverts string, using the base specified by radix, to an integer.
IntCalculates the closest integer that is smaller than number.
LogCalculates the natural logarithm of a number.
Log10Calculates the logarithm of a number, to base 10.
MaxDetermines the greater of two numbers.
MinDetermines the lesser of two numbers.
PiGets the mathematical constant pi, accurate to 15 digits.
PrecisionEvaluateEvaluates one or more string expressions.
RandGenerates a pseudo-random number in the range 0 - 1.
RandomizeSeeds the pseudo-random number generator with an integer number, ensuring repeatable number patterns.
RandRangeGenerates a random integer between two specified numbers.
RoundRounds a number to the closest integer.
SgnDetermines the sign of a number.
SinCalculates the sine of an angle that is entered in radians.
SqrCalculates the square root of a number.
TanCalculates the tangent of an angle that is entered in radians.

Share this page

Was this page helpful?
We're glad. Tell us how this page helped.
We're sorry. Can you tell us what didn't work for you?
Thank you for your feedback. Your response will help improve this page.

On this page