Difference between revisions of "Template:Coor/prec dms/doc"

From blackwiki
Jump to navigation Jump to search
imported>Quarl
(«+" which were converted from d/m/s"»)
imported>WOSlinker
m (add {{documentation subpage}})
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
 +
{{documentation subpage}}
 
Given two decimal numbers which were converted from d/m/s, return the coordinate precision:  
 
Given two decimal numbers which were converted from d/m/s, return the coordinate precision:  
<table class="prettytable">
+
<table class="wikitable">
 
<tr><td><code>d</code></td><td>degrees</td></tr>
 
<tr><td><code>d</code></td><td>degrees</td></tr>
 
<tr><td><code>dm</code></td><td>degrees, minutes</td></tr>
 
<tr><td><code>dm</code></td><td>degrees, minutes</td></tr>
Line 7: Line 8:
  
 
Examples:
 
Examples:
<table class="prettytable">
+
<table class="wikitable">
 
<tr><td>{{tl|coor/prec|10|20}}</td><td>{{coor/prec|10|20}}</td></tr>
 
<tr><td>{{tl|coor/prec|10|20}}</td><td>{{coor/prec|10|20}}</td></tr>
 
<tr><td>{{tl|coor/prec|10.00|20.00}}</td><td>{{coor/prec|10.00|20.00}}</td></tr>
 
<tr><td>{{tl|coor/prec|10.00|20.00}}</td><td>{{coor/prec|10.00|20.00}}</td></tr>

Latest revision as of 16:02, 29 October 2018

Given two decimal numbers which were converted from d/m/s, return the coordinate precision:

ddegrees
dmdegrees, minutes
dmsdegrees, minutes, seconds

Examples:

{{coor/prec}}d
{{coor/prec}}d
{{coor/prec}}dm
{{coor/prec}}dm
{{coor/prec}}dms
{{coor/prec}}dms