Number Ruby

puts -2.0.abs     # => 2.0: absolute value
puts -2.0<=>0.0   # => -1: use <=> operator to compute sign of a number