NXSL:floor
Revision as of 16:13, 13 September 2022 by AlexKirhenshtein (talk | contribs) (Text replacement - "^" to "{{deprecated}}")
This Wiki is deprecated and we are are currrently migrating remaining pages into product documentation (Admin Guide, NXSL Guide) |
Round down value.
Since: 1.2.5
Syntax
floor(x);
Parameters
x Floating point value.
Return Value
The largest integral value not greater than x.
Examples
floor(2.3) -> 2 floor(3.8) -> 3 floor(-2.3) -> -3 floor(-3.8) -> -4