This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
functions:floor [2017/03/15 16:26] – created korshun | functions:floor [2019/08/26 21:03] (current) – removed korshun | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== floor ====== | ||
- | {{tag> | ||
- | '' | ||
- | |||
- | ===== Description ===== | ||
- | Returns x rounded down as a fixed-point number. | ||
- | |||
- | See the article on [[: | ||
- | |||
- | ===== Examples ===== | ||
- | < | ||
- | floor(2.3) -> 2.0 | ||
- | floor(3.8) -> 3.0 | ||
- | floor(5.5) -> 5.0 | ||
- | floor(-2.3) -> -3.0 | ||
- | floor(-3.8) -> -4.0 | ||
- | floor(-5.5) -> -6.0 | ||
- | </ | ||