|
floorfunction
<cmath> double floor ( double x ); float floor ( float x ); long double floor ( long double x ); Round down value Returns the largest integral value that is not greater than x.Parameters
Return ValueThe largest integral value not greater than x.PortabilityIn C, only the double version of this function exists with this name.Example
Output:
See also
|