Math.abs( x )
The absolute (i.e. positive) value of a number.
x – the number or a variable containing a number. This parameter is required.
Examples