The mathLib.ceiling() system function returns the smallest integer not less than a specified number.
mathLib.ceiling(numericVariable FLOAT in)
returns (result BIGINT | FLOAT)
myVar = 4.5;
result = mathLib.ceiling(myVar); // result = 5
myVar2 = -4.5;
result = mathLib.ceiling(myVar2); // result = -4