NXC  Version 1.2.1 r5
 All Data Structures Files Functions Variables Groups Pages
float frac ( float  x)
inline

Compute fractional part.

Computes the fractional part of x.

Parameters
xFloating point value.
Returns
Fractional part of x.
Warning
This function requires the enhanced NBC/NXC firmware.
Examples:
ex_frac.nxc.