2011-11-29

emacs lisp exercise: latitude-longitude-decimalize

This week's emacs lisp 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, etc.

2014-01-21 solution collected at Programing: Decimalize Latitude Longitude