engine:functions:mathematics:start

Mathematics

Some often used mathematical functions

round() round a decimal to an integer value following the mathematical rules
floor() round down decimal values to the next lower integer
ceil() round up decimal values to the next higher integer
abs() returns the absolute value of the given number
sgn() returns the sign of a number; 1 for positives, -1 for negative, 0 for 0