hjælp til formel og beregning
HejJeg vil gerne kunne indtaste en position på min side i Decimal Degrees og så den konverteret til Degrees, Minutes, and Seconds.
Jeg har fundet beskrivelse men kan ikke omsætte det til en formel i ASP:
Here's How:
The whole units of degrees will remain the same (i.e. in 121.135° longitude, start with 121°).
Multiply the decimal by 60 (i.e. .135 * 60 = 8.1).
The whole number becomes the minutes (8').
Take the remaining decimal and multiply by 60. (i.e. .1 * 60 = 6).
The resulting number becomes the seconds (6"). Seconds can remain as a decimal.
Take your three sets of numbers and put them together, using the symbols for degrees (°), minutes (‘), and seconds (") (i.e. 121°8'6" longitude)
Jeg ville også gerne kunne indtaste i degress minutes og second og konvertere til decimal degrees..
Decimal degrees = Degrees + Minutes/60 + Seconds/3600
For Example:
To convert 39° 25' 30" to decimal degrees
1. First, convert minutes and seconds to their degree equivalents and add the results
25'/60 = 0.4167°
30"/3600 = .0083°
and 0.4167° + 0.0083° = 0.425°
2. Then, add this number to the number of degrees.
39° + 0.425° = 39.425°
3. So, the final result is:
39° 25' 30" = 39.425°
Hvem kan hjælpe