floor | |||||||
Type | function | ||||||
Dictionary | LCS | ||||||
Library | LiveCode Script | ||||||
Syntax |
| ||||||
Summary | Returns the greatest integer less than or equal to number. | ||||||
Introduced | 7.1 | ||||||
OS | mac, windows, linux, ios, android | ||||||
Platforms | desktop, server, mobile | ||||||
Parameters |
| ||||||
Example |
| ||||||
Values |
| ||||||
Related | Keyword: integer Function: ceiling, round, abs, trunc Glossary: return Control Structure: function | ||||||
Description | Use the floor function to return the greatest integer less than or equal to a number. The floor function is different from round in that floor
completely ignores the fractional part of the number. For example,
| ||||||
Tags | math |