Math Functions
Math functions perform mathematical operations, including arithmetic, trigonometric, rounding, statistical, and logarithmic calculations.
Returns the absolute value of a number.
Returns the arccosine of an angle.
Returns the arcsine of an angle.
Returns the arctangent of an angle.
Returns the arctangent of a coordinate pair.
Calculates the bin of a value among the specified number of identically-sized bins.
Calculates the bin for a value using the specified lower bounds.
Calculates the bitwise AND
of two numbers.
Calculates the bitwise OR
of two numbers.
Rounds the number up to the closest multiple of equal or greater value.
Returns the cosine of an angle.
Returns the cotangent of an angle.
Converts the angle measurement from radians to degree.
Calculates the distance between two points on the globe, in kilometers.
Calculates the distance between two points on a plane.
Returns the integer component of a division.
Returns the mathematical constant e
, or 2.71828
.
Rounds the number down to the closest multiple of equal or lesser value.
Returns the largest value from a list.
Rounds the integer down to the largest integer of lesser or equal value.
Returns the smallest value from a list.
Calculates the natural logarithm of a number, log_e(n)
.
Calculates the logarithm of a number. Defaults to log_10(n)
.
Returns the remainder component of a division.
Rounds the number down to the closest multiple of the specified number.
Returns the mathematical constant π
, or 3.14159...
.
Calculates the result of a number raised to the specified power.
Converts the angle measurement from degrees to radians.
Calculates the number to the specified number of digits.
Rounds a number down to the specified number of digits or decimal places.
Rounds a number up to the specified number of digits or decimal places.
Calculates the average value of a list of numbers.
Calculates the sign of a number. Returns -1
if negative, 1
if positive, or 0
if zero.
Calculates the sine of an angle.
Calculates the square root of a number.
Calculates the tangent of an angle.
Truncates a number to the specified number of digits or decimal places.
Last updated
Was this helpful?