The math package returns decimals with a precision limited to 13 decimal places.
function atomic logBase(logNumber as decimal, base as decimal) as decimal {
return math->log(logNumber) / math->log(base);}
Returns log of any number in any base.
function abs(input as decimal) as decimal
Returns the absolute value of the input.
function cos(input as decimal) as decimal
Returns the cosine value of the input.
function cot(input as decimal) as decimal
Returns the cotangents value of the input.
function e() as decimal
Returns the value of e.
function exp(input as decimal) as decimal
Returns the e raised to the power of the input.
function log(input as decimal) as decimal
Returns the log value of the input.
function log10(input as decimal) as decimal
Returns the log value in base 10 of the input.
function log2(input as decimal) as decimal
Returns the log value in base 2 of the input.
function pi() as decimal
Returns the value of pi.
function pow(base as decimal, exponent as decimal) as decimal
Returns the value of the base raised to the exponent value.
function random() as decimal
Returns a random decimal.
function round(input as decimal, precision as int) as decimal
Returns the input value rounded to the precision.
function sin(input as decimal) as decimal
Returns the sine value of the input.
function sqrt(input as decimal) as decimal
Returns the square value of the input.
function tan(input as decimal) as decimal
Returns the tangent value of the input.