Given:
0x12E7
represents 48°39'0x3026
represents 123°26'
What is the most efficient way to convert the representation of those latitudes into two variables:
- hours
- minutes
Where the first example would be:
- hours = 48
- minutes = 39
And the second example:
- hours = 123
- minutes = 26
Edit
Latitude is an int
.