Function frac

Fractional part

real frac (
  real v
);

Example

assert(abs(frac(54.832f) - 0.832f) <= EPSILON);