The functions ffloor, fceiling, fround, and
ftruncate take a floating point argument and return a floating
point result whose value is a nearby integer. ffloor returns the
nearest integer below; fceiling, the nearest integer above;
ftruncate, the nearest integer in the direction towards zero;
fround, the nearest integer.
Function:ffloorfloat
This function rounds float to the next lower integral value, and
returns that value as a floating point number.
Function:fceilingfloat
This function rounds float to the next higher integral value, and
returns that value as a floating point number.
Function:ftruncatefloat
This function rounds float towards zero to an integral value, and
returns that value as a floating point number.
Function:froundfloat
This function rounds float to the nearest integral value,
and returns that value as a floating point number.
Please take a moment to fill out
this visitor survey You can help support this site by
visiting the advertisers that sponsor it! (only once each, though)