Changes
Jump to navigation
Jump to search
m
Template:Coord/dms2dec/doc (view source)
Revision as of 18:45, 30 October 2018
, 18:45, 30 October 2018add {{documentation subpage}}
{{documentation subpage}}
{{tl|Coord/dms2dec}} converts cardinal direction and degree-minutes-seconds to decimal coordinate.
== Usage ==
{{coord/dms2dec|''direction''|''degrees''|''minutes''|''seconds''}}
== Examples ==
{| class="wikitable"
| <code><nowiki>{{Coord/dms2dec|N|10|20|35.67}}</nowiki></code> || {{Coord/dms2dec|N|10|20|35.67}}
|-
| <code><nowiki>{{Coord/dms2dec|N|10|20|35}}</nowiki></code> || {{Coord/dms2dec|N|10|20|35}}
|-
| <code><nowiki>{{Coord/dms2dec|N|10|20|30}}</nowiki></code> || {{Coord/dms2dec|N|10|20|30}}
|-
| <code><nowiki>{{Coord/dms2dec|E|10|25.39}}</nowiki></code> || {{Coord/dms2dec|E|10|25.39}}
|-
| <code><nowiki>{{Coord/dms2dec|E|10|25}}</nowiki></code> || {{Coord/dms2dec|E|10|25}}
|-
| <code><nowiki>{{Coord/dms2dec|S|10|20}}</nowiki></code> || {{Coord/dms2dec|S|10|20}}
|-
| <code><nowiki>{{Coord/dms2dec|W|11.341666}}</nowiki></code> || {{Coord/dms2dec|W|11.341666}}
|-
| <code><nowiki>{{Coord/dms2dec|W|11.3416}}</nowiki></code> || {{Coord/dms2dec|W|11.3416}}
|-
| <code><nowiki>{{Coord/dms2dec|W|11.34}}</nowiki></code> || {{Coord/dms2dec|W|11.34}}
|-
| <code><nowiki>{{Coord/dms2dec|W|11}}</nowiki></code> || {{Coord/dms2dec|W|11}}
|}
<includeonly>{{Sandbox other||
[[Category:Coord template]]
}}</includeonly>
{{tl|Coord/dms2dec}} converts cardinal direction and degree-minutes-seconds to decimal coordinate.
== Usage ==
{{coord/dms2dec|''direction''|''degrees''|''minutes''|''seconds''}}
== Examples ==
{| class="wikitable"
| <code><nowiki>{{Coord/dms2dec|N|10|20|35.67}}</nowiki></code> || {{Coord/dms2dec|N|10|20|35.67}}
|-
| <code><nowiki>{{Coord/dms2dec|N|10|20|35}}</nowiki></code> || {{Coord/dms2dec|N|10|20|35}}
|-
| <code><nowiki>{{Coord/dms2dec|N|10|20|30}}</nowiki></code> || {{Coord/dms2dec|N|10|20|30}}
|-
| <code><nowiki>{{Coord/dms2dec|E|10|25.39}}</nowiki></code> || {{Coord/dms2dec|E|10|25.39}}
|-
| <code><nowiki>{{Coord/dms2dec|E|10|25}}</nowiki></code> || {{Coord/dms2dec|E|10|25}}
|-
| <code><nowiki>{{Coord/dms2dec|S|10|20}}</nowiki></code> || {{Coord/dms2dec|S|10|20}}
|-
| <code><nowiki>{{Coord/dms2dec|W|11.341666}}</nowiki></code> || {{Coord/dms2dec|W|11.341666}}
|-
| <code><nowiki>{{Coord/dms2dec|W|11.3416}}</nowiki></code> || {{Coord/dms2dec|W|11.3416}}
|-
| <code><nowiki>{{Coord/dms2dec|W|11.34}}</nowiki></code> || {{Coord/dms2dec|W|11.34}}
|-
| <code><nowiki>{{Coord/dms2dec|W|11}}</nowiki></code> || {{Coord/dms2dec|W|11}}
|}
<includeonly>{{Sandbox other||
[[Category:Coord template]]
}}</includeonly>