Skip to content
Snippets Groups Projects
Commit d80dbf60 authored by Alex Reisner's avatar Alex Reisner
Browse files

Increase precision and add proper comment.

parent 8ffaede5
No related branches found
No related tags found
No related merge requests found
......@@ -20,7 +20,11 @@ module Geocoder
# Conversion factor: multiply by kilometers to get miles.
#
KM_IN_MI = 0.621371192
KM_IN_NM = 0.540
##
# Conversion factor: multiply by nautical miles to get miles.
#
KM_IN_NM = 0.539957
# Not a number constant
NAN = defined?(::Float::NAN) ? ::Float::NAN : 0 / 0.0
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment