{{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″

{{Deg2DMS|105.38|d=deg |m=min |s=sec}}

{{Deg2DMS}}

105deg 22min 48sec

{{Deg2DMS/sandbox}}

105deg 22min 48sec

{{Deg2DMS|105.38|d=| |m=| |s=|}}

{{Deg2DMS}}

105| 22| 48|

{{Deg2DMS/sandbox}}

105| 22| 48|

Precision parameter

edit
{{Deg2DMS|266.416837|p=4}}

{{Deg2DMS}}

266° 25′ 0.6132″

{{Deg2DMS/sandbox}}

266° 25′ 0.6132″

Rounding examples

edit

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)