Name

floor()

Examples
x = 2.88
a = floor(x)# Sets 'a' to 2
Description Calculates the closest int value that is less than or equal to the value of the parameter.
Syntax
 
floor(n)
Parameters
nfloat: number to round down
Related ceil()
round()

Updated on Tue Feb 27 14:07:12 2024.

If you see any errors or have comments, please let us know.