For the complete documentation index, see llms.txt. This page is also available as Markdown.

Floor

Round a number down to the nearest integer

Method Signature

Floor(number=[numeric])

Arguments

Argument
Type
Required
Description
Default

number

numeric

true

The number to round down to the nearest integer

Examples

Floor Value of 4.0

Run Example

floor( 4.0 );

Result: 4

Floor Value of 4.3

Run Example

floor( 4.3 );

Result: 4

Floor Value of 4.7

Run Example

Result: 4

Floor Value of -4.3

Run Example

Result: -5

Additional Examples

Run Example

Last updated

Was this helpful?