Difference between revisions of "Template:Deg2DMS/sandbox"

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

Revision as of 20:25, 29 March 2016

0° 0' 0''

30° 12' -0''

30° 12' -0''

30° 12' -0''

30° 12' -0''

30° 12' -0''

30° 12' -0''

30° 12' -0''

105° 24' -72''