You can use the online converter to check your conversions from decimal degrees to degrees, minutes, seconds
http://www.rapidtables.com/convert/number/degrees-to-degrees-minutes-seconds.htm There is also an algorithm to make the conversion.
The LocationSensor uses decimal degrees to be compatible with the output of the output of the satellites of the Global Positional Satellites.
Latitudes North of the equator are positive; latitudes South of the equator are negative. Longitudes up to 180 deg West of the Prime Meridian are negative values; those up to 180 degrees East are positive values.
The location sensor object is used to communicate with the global positioning satellite receiver (GPS) in your phone/tablet. When the LocationSensor communicates with the built-in GPS receiver, the GPS can determine the location of your device. The sensor can also work with network/wifi location services. Finding a location using the network uses very different techniques to determine a location. Location means, the device's present latitude and longitude or it can mean your street address.
Old time cartographers used degrees, minutes and seconds on maps; modern computer systems and the satellite navigation systems use decimal degrees and it is the most widely used and accepted way of describing geocoordinates today.
151° 17' 3"
= 151° + 17'/60 + 3"/3600
= 151.2842°
d = int(30.72°) = 30°
m = int((30.72° - 30°) × 60) = 43'
s = (30.72° - 30° - 43'/60) × 3600 = 12"
30.72°
= 30° 43' 12"
The GPS satellites provide coordinate data to a precision of five decimal places (30.12345 so additional decimals are meaningless
Regards,
Steve