Flowdock
method

abs

Importance_1
v2_4_6 - Show latest stable - 0 notes - Class: Integer
abs() 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.