Difference between revisions of "Template:Deg2DMS/sandbox"

From blackwiki
Jump to navigation Jump to search
imported>Tom.Reding
(1)
imported>Tom.Reding
(16 + testcases)
Line 1: Line 1:
{{#expr: FLOOR({{{1|0}}})}}°&nbsp;{{#expr: FLOOR( ((({{{1|0}}}) - FLOOR({{{1|0}}})) round 1 )*60)}}{{#if:{{{sup|}}}|<sup>m</sup>|&apos;}}&nbsp;{{#expr: (((({{{1|0}}})-FLOOR({{{1|0}}}))*60) - FLOOR( ((({{{1|0}}})-FLOOR({{{1|0}}})) round 1 )*60))*60 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)}}{{#if:{{{sup|}}}|<sup>m</sup>|&apos;}}&nbsp;{{#expr: (((({{{1|0}}})-FLOOR({{{1|0}}}))*60) - FLOOR( ((({{{1|0}}})-FLOOR({{{1|0}}})) round 16 )*60))*60 round {{#if:{{{p|}}}|{{{p|}}}|3}}}}{{#if:{{{sup|}}}|<sup>s</sup>|&apos;&apos;}}<noinclude>
 +
 
 +
{{#expr: FLOOR( (((30.2) - FLOOR(30.2))  )*60)}}
 +
{{#expr: FLOOR( (((30.2) - FLOOR(30.2)) round 1 )*60)}}
 +
{{#expr: FLOOR( (((30.2) - FLOOR(30.2)) round 2 )*60)}}
 +
{{#expr: FLOOR( (((30.2) - FLOOR(30.2)) round 3 )*60)}}
 +
{{#expr: FLOOR( (((30.2) - FLOOR(30.2)) round 4 )*60)}}
 +
{{#expr: FLOOR( (((30.2) - FLOOR(30.2)) round 5 )*60)}}
 +
{{#expr: FLOOR( (((30.2) - FLOOR(30.2)) round 6 )*60)}}
 +
 
 +
{{#expr: FLOOR( (((105.38) - FLOOR(105.38))  )*60)}}
 +
{{#expr: FLOOR( (((105.38) - FLOOR(105.38)) round 1 )*60)}}
 +
{{#expr: FLOOR( (((105.38) - FLOOR(105.38)) round 2 )*60)}}
 +
{{#expr: FLOOR( (((105.38) - FLOOR(105.38)) round 3 )*60)}}
 +
{{#expr: FLOOR( (((105.38) - FLOOR(105.38)) round 16 )*60)}}
 +
 
 +
{{#expr: FLOOR( (((30.98888) - FLOOR(30.98888))  )*60)}}
 +
{{#expr: FLOOR( (((30.98888) - FLOOR(30.98888)) round 1 )*60)}}
 +
{{#expr: FLOOR( (((30.98888) - FLOOR(30.98888)) round 2 )*60)}}
 +
{{#expr: FLOOR( (((30.98888) - FLOOR(30.98888)) round 3 )*60)}}
 +
{{#expr: FLOOR( (((30.98888) - FLOOR(30.98888)) round 4 )*60)}}
 +
{{#expr: FLOOR( (((30.98888) - FLOOR(30.98888)) round 5 )*60)}}
 +
{{#expr: FLOOR( (((30.98888) - FLOOR(30.98888)) round 6 )*60)}}
 +
{{#expr: FLOOR( (((30.98888) - FLOOR(30.98888)) round 7 )*60)}}
  
 
{{Deg2DMS/sandbox|30.2000}}
 
{{Deg2DMS/sandbox|30.2000}}

Revision as of 20:57, 29 March 2016

0° 0' 0''

11 12 12 12 12 12 12

22 24 22 22 22

59 60 59 59 59 59 59 59

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''