modf (Function) |
Top Previous Next |
This function will break the argument into an integral and a fractional part.
Note: This function works with DOUBLE, but can also work with FLOAT as described in the Floating-point math introductory section.
Input: V : DOUBLE Value to break into parts.
Output: intpart : DOUBLE The integral part of the value.
Returns: DOUBLE The fraction part of the value.
Declaration: FUNCTION modf : DOUBLE;
Example: INCLUDE rtcu.inc |