Math Functions

Function

Returns

Abs

The absolute value of a passed value.

Acos

The arc cosine of a passed value.

Asin

The arc sine of a passed value.

Atan

The arc tangent of a passed value.

Cos

The cosine of a passed value.

Exp

The antilogarithm of a passed value.

Log

The logarithm of a passed value.

Mod

The remainder of the integer division of two passed values.

ModAlt

An alternate Mod mechanism where the returned value is a positive number which wraps based on the value of the divisor.

Random

A random number.

Round

An integer value from a decimal value by rounding the decimal portion.

Sin

The sine of a passed value.

Sqrt

The square root of a passed value.

Tan

The tangent of a passed value.