further fix to geolocation.py

This commit is contained in:
carlopav
2020-05-17 13:04:49 +02:00
committed by Thomas Krijnen
parent 3427b99521
commit 35ea0b1b8b
@@ -1,7 +1,7 @@
import math
def dms2dd(degrees, minutes, seconds, milliseconds=0):
dd = float(degrees) + float(minutes)/60 + float(seconds)/(3600) + float(milliseconds/3600000)
dd = float(degrees) + float(minutes)/60.0 + float(seconds)/(3600.0) + float(milliseconds/3600000.0)
return dd
def dd2dms(dd):