Die Systemfunktion 'mathLib.floor()' gibt die größte ganze Zahl an, die nicht größer als eine angegebene Zahl ist.
mathLib.floor(numerische_Variable FLOAT in)
returns (Ergebnis BIGINT | FLOAT)
myVar = 4.6;
result = mathLib.floor(myVar); // Ergebnis = 4
myVar2 = -4.6;
result = mathLib.floor(myVar2); // Ergebnis = -5