Javascript Methods JavaScript Reference

Note:
Returns the absolute value.
    
Syntax:
    
Math.abs(param1)
    
Parameters:    
    param1   Required; the number to convert.