jan tolenaar / kiezellisp / index-of-everything

Name

math:floor

Usage

builtin-function

Syntax

(math:floor number)

Description

Returns the nearest integer in the direction of negative infinity.

make-html > (math:floor 6.99)
it: 6
make-html > (math:floor 14/3)
it: 4
make-html > (math:floor -14.3)
it: -15

See also

math:ceiling math:mod math:rem math:round math:truncate