Template:Deg2DMS/doc

Description
This template converts a positive decimal degree value to degrees° minutes&apos; seconds&apos;&apos; format or to degrees° minutesm secondss format (the degree symbol  is invariant between the two formats).

Usage
.

Parameter p is optional and defaults to 3. It is the number of decimal digits that the seconds are rounded to. Parameter sup is optional and changes the default apostrophe-format for arcminutes and arcseconds to the m-s-format for arcminutes and arcseconds. Any non-blank value has this effect, but using ms is customary.

For example:

returns. returns. returns.

returns. returns. returns.