floor() Function

Rounds the number down to the nearest multiple of the specified significance.

Syntax

floor( number, significance)

number: (Decimal) A number, the floor of which will be returned.

significance: (Decimal) The number will be rounded to the highest multiple of the significance that is less than the number.

Returns

Decimal

Examples

floor(-7,5) returns -10

Open in Github Built: Fri, Nov 04, 2022 (07:10:52 PM)

On This Page

FEEDBACK