# FX_Modf

## C Specification

      #include <nitro/fx/fx.h>

      fx32 FX_Modf(fx32 x, fx32* iPtr);

## Arguments

x | `fx32` format fixed-point decimal
iPtr | Pointer to a `fx32` type fixed-point number

## Return Values

`fx32` format fixed-point decimal

## Description

This function splits `x` into an integer and a remainder, both having the same sign as `x`. It returns the remainder and stores the integer in `*iPtr`.

## See Also

## Revision History

02/13/2004 Initial version.

CONFIDENTIAL