Skip to content

Latest commit

 

History

History
42 lines (34 loc) · 434 Bytes

floor.adoc

File metadata and controls

42 lines (34 loc) · 434 Bytes

floor()

Important

Deprecated in 5.0.

Please use [func-math-floor] instead.

floor(input) => Integer

Round down value.

Table 1. Parameters

input

Input value.

Return

Value round down to nearest integer.

Example
>>> floor(2.3)
2
>>> floor(3.8)
3
>>> floor(-2.3)
-3
>>> floor(-3.8)
-4