--- title: "floor()" slug: "math-floor" updated: 2026-08-13T13:14:24Z published: 2026-08-13T13:14:24Z canonical: "docs.lobstersoftware.com/math-floor" --- > ## Documentation Index > Fetch the complete documentation index at: https://docs.lobstersoftware.com/llms.txt > Use this file to discover all available pages before exploring further. # floor() This function returns the largest Integer value that is not greater than **a**. For a non-numeric value **a** the function returns *0*, see examples below. ## Parameters | Parameter | Description | | --- | --- | | a | Numerical value | ## Examples | Parameter a | Result | | --- | --- | | 100.3 | 100 | | 100 | 100 | | -2.5 | -3 | | abc | 0 |