mercredi 26 mars 2014

Retrieve 40.7288 from 2240.7288 (miss first two values)


Vote count:

0




I'm converting digital minute values to digital degrees (longitude and latitude), how would I come about retrieving all values apart from the first two? From here I can calculate values, such as 5322.72233N and 00127.5333W, to another format. I've looked at Math.Truncate (Best Way to get Whole Number part of a Decimal Number).


Let's take the above example 5322.72233



  • Get 22.72233

  • Divide result by 60

  • +53

  • Final result is 53.3787055


I'm sure it's simple.



asked 1 min ago






Aucun commentaire:

Enregistrer un commentaire