Difference between revisions of "NXSL:ceil"
Jump to navigation
Jump to search
m (Text replacement - "^" to "{{deprecated}}") |
|||
(One intermediate revision by one other user not shown) | |||
Line 1: | Line 1: | ||
__NOTOC__ | {{deprecated}}__NOTOC__ | ||
Round up value. | Round up value. | ||
Line 12: | Line 12: | ||
== Parameters == | == Parameters == | ||
:{| | :{| class="wikitable" | ||
|- | |- | ||
| ''x'' || Floating point value. | | ''x'' || Floating point value. |
Latest revision as of 16:13, 13 September 2022
This Wiki is deprecated and we are are currrently migrating remaining pages into product documentation (Admin Guide, NXSL Guide) |
Round up value.
Since: 1.2.5
Syntax
ceil(x);
Parameters
x Floating point value.
Return Value
The smallest integral value that is not less than x.
Examples
ceil(2.3) -> 3 ceil(3.8) -> 4 ceil(-2.3) -> -2 ceil(-3.8) -> -3