Loading TOC...

math.modf

math.modf(
   $x as Number
) as ValueIterator

Summary

Returns x broken up into fraction and integer. x = fraction+integer.

Parameters
$x The floating point number to be evaluated.

Example

  math.modf(1.333)

  => 0.333
     1

Comments

    Powered by MarkLogic Server 7.0-4.1 and rundmc | Terms of Use | Privacy Policy