From Wikipedia, the free encyclopedia
0° 0′ 0″
DescriptionThis template converts a positive decimal degree value to degrees° minutes' seconds'' format, or to degrees° minutesm secondss format (the degree symbol °
is invariant between the two formats).
{{Deg2DMS|positive decimal degrees|p=precision|sup=ms}}
|p=
is optional and defaults to 3. It is the number of decimal digits that the seconds are rounded to.|sup=
is optional and changes the default apostrophe-format for arcminutes and arcseconds (1° 2′ 3″) to the m-s-format for arcminutes and arcseconds (1° 2m 3s). Any non-blank value has this effect, but using |sup=ms
is customary.
For example:
{{Deg2DMS|266.416837}}
returns 266° 25′ 0.613″{{Deg2DMS|266.416837|p=4}}
returns 266° 25′ 0.6132″{{Deg2DMS|266.416837|p=4|sup= }}
returns 266° 25′ 0.6132″
{{Deg2DMS|266.416837|p=4|sup=ms}}
returns 266° 25m 0.6132s{{Deg2DMS|266.416837|p=4|sup=no}}
returns 266° 25m 0.6132s{{Deg2DMS|266.416837|p=4|sup=}}
returns 266° 25′ 0.6132″
Math templates
Conversions
convert many units (see: list) cvt abbreviated {{convert}} convinfobox {{convert}} for infoboxes bbl to t barrels of oil to tonnes long ton long hundredweights, quarters and pounds to kilograms;Notation and
formatting bigmath bigger font to match TeX \displaystyle (standalone formulas only) math short text-based formulas mathcal [mathematical] calligraphic font; alternative to LaTeX \mathcal{...} tombstone symbol indicating the end of a proof mvar individual italicized maths variables in normal text val measurement values, uncertainties and units a line set above/below a sequence of characters vec various overarrows, underarrows, etc. abs absolute values (paired vertical lines){{sfrac}}
instead) sfrac "standing" or upright fractions 3/5 (use in maths/science articles instead of{{fraction}}
) intmath integral symbols
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4