Flowdock
method

magnitude

Importance_1
v2_4_6 - Show latest stable - 0 notes - Class: Integer
magnitude() public

Returns the absolute value of int.

-12345.abs   #=> 12345
12345.abs    #=> 12345
-1234567890987654321.abs   #=> 1234567890987654321
Show source
Register or log in to add new notes.