Floor

Returns the absolute value of a number

Method Signature

Floor(number=[numeric])

Arguments

Argument
Type
Required
Description
Default

number

numeric

true

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?