The system function MathLib.modf splits a number into integral and fractional parts, both with the same sign as the number. The fractional part is returned in result and the integral part is returned in numericField2.
MathLib.modf( numericField1 mathLibNumber in, numericField2 mathLibNumber inOut) returns (result mathLibTypeDependentResult)
result = MathLib.modf(myItem01,myItem02);
Related concepts
Syntax diagram for EGL functions
Related reference
EGL library MathLib