Guest User

Untitled

a guest
Dec 10th, 2018
81
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.13 KB | None | 0 0
  1. def decdeg2dm(dd):
  2. dd = abs(dd)
  3. degrees, minutes = divmod(dd * 60, 60)
  4. return str(degrees * 100 + minutes).replace('.', '')
Add Comment
Please, Sign In to add comment