Difference between revisions of "NXSL:abs"
Jump to navigation
Jump to search
m (Text replacement - "^" to "{{deprecated}}") |
|||
Line 1: | Line 1: | ||
__NOTOC__ | {{deprecated}}__NOTOC__ | ||
Returns the absolute value of number. | Returns the absolute value of number. | ||
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) |
Returns the absolute value of number.
Syntax
abs(number);
Parameters
number Number for which to return absolute value.
Return Value
Absolute value of number.
Examples
abs(12.3) -> 12.3 abs(-0.307) -> 0.307