Javascript Reference
Categories: Math

javascript Math abs( )

@March 15, 2008, 1:22 a.m.
abs( )Firefox/Netscape/NN 2 IE 3 ECMA 1  

abs(number)

  

Returns the absolute value of the number passed as a parameter.

 
Parameters
 
  • Any number.
 
Returned Value

Positive number or zero.


Powered by Linode.