Math::PI / 180.0
180.0 / Math::PI
7 8 9
# File 'lib/rrobots/numeric.rb', line 7 def to_deg self * TO_DEG end
4 5 6
# File 'lib/rrobots/numeric.rb', line 4 def to_rad self * TO_RAD end