Difference between revisions of "Template:Deg2DMS/sandbox"

From blackwiki
Jump to navigation Jump to search
imported>Tom.Reding
(round 1 to eliminate very small rounding errors)
imported>Tom.Reding
(round 16 instead)
Line 1: Line 1:
{{#expr: FLOOR({{{1|0}}})}}°&nbsp;{{#expr: FLOOR( ((({{{1|0}}}) - FLOOR({{{1|0}}})) round 1 )*60.00000000)}}{{#if:{{{sup|}}}|<sup>m</sup>|&apos;}}&nbsp;{{#expr: (((({{{1|0}}})-FLOOR({{{1|0}}}))*60.00000000) - FLOOR( ((({{{1|0}}})-FLOOR({{{1|0}}})) round 1 )*60.00000000))*60.00000000 round {{#if:{{{p|}}}|{{{p|}}}|3}}}}{{#if:{{{sup|}}}|<sup>s</sup>|&apos;&apos;}}<noinclude>
+
{{#expr: FLOOR({{{1|0}}})}}°&nbsp;{{#expr: FLOOR( ((({{{1|0}}}) - FLOOR({{{1|0}}})) round 16 )*60.00000000)}}{{#if:{{{sup|}}}|<sup>m</sup>|&apos;}}&nbsp;{{#expr: (((({{{1|0}}})-FLOOR({{{1|0}}}))*60.00000000) - FLOOR( ((({{{1|0}}})-FLOOR({{{1|0}}})) round 16 )*60.00000000))*60.00000000 round {{#if:{{{p|}}}|{{{p|}}}|3}}}}{{#if:{{{sup|}}}|<sup>s</sup>|&apos;&apos;}}<noinclude>
  
 
{{Deg2DMS/sandbox|30.2000}}
 
{{Deg2DMS/sandbox|30.2000}}
Line 7: Line 7:
 
{{Deg2DMS/sandbox|30.2000|p=1}}
 
{{Deg2DMS/sandbox|30.2000|p=1}}
  
{{Deg2DMS/sandbox|30.200|p=2}}
+
{{Deg2DMS/sandbox|30.2|p=5}}
  
{{Deg2DMS/sandbox|30.200|p=3}}
+
{{Deg2DMS/sandbox|30.21}}
  
{{Deg2DMS/sandbox|30.200|p=4}}
+
{{Deg2DMS/sandbox|30.3}}
  
{{Deg2DMS/sandbox|30.2|p=5}}
+
{{Deg2DMS/sandbox|30.4}}
 +
 
 +
{{Deg2DMS/sandbox|30.5}}
  
 
{{Deg2DMS/sandbox|105.38}}
 
{{Deg2DMS/sandbox|105.38}}
 
</noinclude>
 
</noinclude>

Revision as of 20:45, 29 March 2016

0° 0' 0''

30° 11' 60''

30° 11' 60''

30° 11' 60''

30° 11' 60''

30° 12' 36''

30° 18' 0''

30° 23' 60''

30° 30' 0''

105° 22' 48''