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

Round up value.

Computes the smallest integral value that is not less than x.

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