NXC  Version 1.2.1 r5
 All Data Structures Files Functions Variables Groups Pages
ex_ceil.nxc

This is an example of how to use the ceil function.

float a = ceil(3.01);
// a == 4.0
float b = ceil(3.14);
// b == 4.0
float c = ceil(3.99);
// c == 4.0
float d = ceil(4.0);
// d == 4.0