Microsoft® JScript abs Method |
Language Reference Version 1 |
Determines the absolute value of its numeric argument.
Math.abs(number)
The number argument is a numeric expression for which the absolute value is sought.
The return value is the absolute value of the number argument.