X
Xah Lee
fun programing exercise. Write a function “latitude-longitude-
decimalizeâ€.
It should take a string like this: 「"37°26′36.42″N 06°15′14.28″W"ã€.
The return value should be a pair of numbers, like this: 「[37.44345
-6.25396]ã€.
Feel free to use perl, python, ruby, lisp, etc. I'll post a emacs lisp
solution in a couple of days.
Xah
decimalizeâ€.
It should take a string like this: 「"37°26′36.42″N 06°15′14.28″W"ã€.
The return value should be a pair of numbers, like this: 「[37.44345
-6.25396]ã€.
Feel free to use perl, python, ruby, lisp, etc. I'll post a emacs lisp
solution in a couple of days.
Xah