I think this comes in somewhere around the basic Geometry maths class.
In the traditional Babylonian-inspired circular metric system, a circle encompasses exactly 360 degrees. Each degree was divided into 60 minutes, each minute was divided into 60 seconds. That pretty well tapped out their limits of precision, so after that you're on your own - we use decimal fractions on seconds.
Removing the integer part, gives:
Scale it up by 3600.0 (60×60):
91.776958944 / 60 = 1.529615'
91.776958944 % 60 * 60 = 31.776958944"
So, in traditional form:
13°01'31.777" (approx). Assuming North latitude from a signed number: 13°01'31.777N
Or, since you only want degrees/minutes:, multiply by 60 and skip the seconds calculations, instead:
Which you can verify approximately, since 1'30" is exactly 1.5 minutes, by definition.
Joined: Oct 24, 2011
Thanks a lot. so for north and south same calculations.
so is the same calculation for east and west values.
or any other method to convert them:-)
if so can you please explain?
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com
subject: how to convert the decimal degree format to degree minutes format of latitude and longitude?