Difference between revisions of "Template:Deg2DMS/testcases"

From blackwiki
Jump to navigation Jump to search
imported>Jonesey95
(create)
 
imported>Jonesey95
(rm examples)
Line 20: Line 20:
  
 
{{Test case|_showcode=yes|105.38}}
 
{{Test case|_showcode=yes|105.38}}
 
{{Test case|_collapsible=yes|_showcode=yes|_title=Test1
 
|param1|param2|name3=value3|...}}
 
 
{{Test case|_collapsible=yes|_showcode=yes|_title=Test2
 
|param1|param2|name3=value3|...}}
 
  
 
==Rounding examples==
 
==Rounding examples==

Revision as of 15:09, 14 November 2020


{{Deg2DMS|30.2000}}

{{Deg2DMS}}

30° 12′ 0″

{{Deg2DMS/sandbox}}

30° 12′ 0″

{{Deg2DMS|30.2000|p=0}}

{{Deg2DMS}}

30° 12′ 0″

{{Deg2DMS/sandbox}}

30° 12′ 0″

{{Deg2DMS|30.2000|p=1}}

{{Deg2DMS}}

30° 12′ 0″

{{Deg2DMS/sandbox}}

30° 12′ 0″

{{Deg2DMS|30.2|p=5}}

{{Deg2DMS}}

30° 12′ 0″

{{Deg2DMS/sandbox}}

30° 12′ 0″

{{Deg2DMS|30.21}}

{{Deg2DMS}}

30° 12′ 36″

{{Deg2DMS/sandbox}}

30° 12′ 36″

{{Deg2DMS|30.3}}

{{Deg2DMS}}

30° 18′ 0″

{{Deg2DMS/sandbox}}

30° 18′ 0″

{{Deg2DMS|30.4}}

{{Deg2DMS}}

30° 24′ 0″

{{Deg2DMS/sandbox}}

30° 24′ 0″

{{Deg2DMS|30.5}}

{{Deg2DMS}}

30° 30′ 0″

{{Deg2DMS/sandbox}}

30° 30′ 0″

{{Deg2DMS|105.38}}

{{Deg2DMS}}

105° 22′ 48″

{{Deg2DMS/sandbox}}

105° 22′ 48″

Rounding examples

11 12 12 12 12 12 12 11 11, (desired minutes=12; round=14 wins)

60, -0, -0, -0, -0, -0, -0, -0, 60, 60, 60, 60, (desired seconds=0; round=14 wins)

22 24 22 22 22 22 22 22 22 22, (desired minutes=22; round>1 wins)

59 60 59 59 59 59 59 59 59 59 59 59, (desired minutes=59; round>1 wins)