--- title: "floor" description: "Returns the largest floating point value that is less than or equal to the argument and is equal to a mathematical integer." --- # floor > Returns the largest floating point value that is less than or equal to the argument and is equal to a mathematical integer. **This function is used by Ignition's Expression language.** ## Description ## Syntax `floor(number)` ### Parameters | Type | Parameter | Description | |---|---|---| | Float | `number` | The number to get the floor of. | ### Results **Float** - The floor of the number provided. ## Examples ```python title="Code Snippet" floor(2.72) //returns 2.0 ```