The mathLib.floor() system function returns the largest integer not greater than a specified number.
mathLib.floor(numericVariable FLOAT in) returns (result BIGINT)
myVar = 4.6; result = mathLib.floor(myVar); // result = 4 myVar2 = -4.6; result = mathLib.floor(myVar2); // result = -5