# File lib/jpmobile/position.rb, line 27 def self.dms2deg(d,m,s) return d.to_i + m.to_i.to_f/60 + s.to_f/3600 end