Math-functions

All math-functions are statically bound to "math" -namespace. Output-type for each math-function is .

abs()

Abs, absolute value.

Example

arccos()

Arccos is an inverse function for cosine-function (cos).

Example

arcsin()

Arcsin is an inverse function for sine-function (sin).

arctan()

Arctan is an inverse function for tangent-function (tan).

ceil()

Ceil returns the closest integer value that is larger than or equal to the input-value.

cos()

Cos (cosine) is a trigonometric function, which returns the cosine of an angle (given as input-value).

exp()

Exp returns Euler's number e raised to the power of the input-value.

floor()

Floor returns the closest integer that is smaller than or equal to the input-value.

log()

Log returns the natural logarithm (base e) of the input-value.

pow($exp)

Pow (power) returns the input-value raised to the power of param $exp.

round()

Round sets the input-value to closest integer-value.

sin()

Sin (sine) is a trigonometric function, which returns the sine of an angle (given as input-value).

sqrt()

Sqrt returns the rounded square root of the positive input-value.

tan()

Tan (Tangent) is a trigonometric function, which returns the tangent of an angle (given as input-value).