method

magnitude

v1_9_3_125 - Show latest stable - Class: Float
magnitude()
public

Returns the absolute value of flt.

(-34.56).abs   #=> 34.56
-34.56.abs     #=> 34.56