The system function MathLib.ceiling returns the smallest integer not less than a specified number.
MathLib.ceiling(numericField mathLibNumber in) returns (result mathLibTypeDependentResult)
myItem = 4.5; result = MathLib.ceiling(myItem); // result = 5
Related concepts
Syntax diagram for EGL functions
Related reference
EGL library MathLib