Math Library


MethodDescription
absReturns the absolute value of a number.
ceilReturns the next largest whole number or integer
floorReturns the largest integer less than or equal to a given number
maxReturns the largest of zero or more numbers
minReturns the smallest of zero or more numbers
powReturns the base to the exponent power
randomReturns a floating point, random number in the range 0 (inclusive) to 1 (exclusive)
roundReturns the value of a number rounded to the nearest integer
signReturns either a positive or negative indicating the sign of a number
truncReturns the integer part of a number by removing any fractional digits.
Not supported in Internet Explorer


© 2020 Better Solutions Limited. All Rights Reserved. © 2020 Better Solutions Limited TopPrevNext