data...@yahoo.com wrote:
>
> recommend a degrees decimal minutes to decimal degrees converter ?
Tell us more:
Which platform?
(PC/Mac/Unix computer, Android phone, ???)
What is the input format?
A text file/spreadsheet/web input form?
How are the fields separated?
(D)DDMM.MMMMM is the NMEA standard, i.e. no separator between degrees
and minutes.
How many do you need to convert?
1/10/1000/1e9?
The actual code is of course totally trivial. :-(
split_into_degrees_and minutes_with_fractions
decimal_degrees = degrees + minutes_with_fractions * ( 1.0/60.0 )
Terje
--
- <Terje.Mathisen at
tmsw.no>
"almost all programming can be viewed as an exercise in caching"