Floor
This reference collection includes Vector documentation reproduced with permission. Snippets may require configuration-specific symbols and are not all standalone programs. Sources and validation limits.
Syntax
float _floor(float x);
Function
Calculates the floor of a value, i.e. the largest integer smaller or equal to the value.
Parameters
x Value of which the floor shall be calculated.
Return Values
Floor of x.
float x;x = _floor(3.6); // x == 3.0
_ceil | _round