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

Round down value.

Computes the largest integral value that is not greater than x.

Parameters
xFloating point value.
Returns
The largest integral value not greater than x.
Warning
This function requires the enhanced NBC/NXC firmware.
Examples:
ex_floor.nxc.