add misc folder; Karto updates

This commit is contained in:
Motiejus Jakštys
2019-10-31 19:18:11 +02:00
parent 59dc07a85f
commit d79bde565c
9 changed files with 10 additions and 5 deletions

7
misc/tools.py Normal file
View File

@@ -0,0 +1,7 @@
from decimal import Decimal
def deg(deg, mm, ss):
return (Decimal(deg) +
Decimal(mm) / Decimal(60) +
Decimal(ss) / Decimal(3600)).normalize()