A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://en.wikipedia.org/wiki/Template:Deg2DMS below:

Template:Deg2DMS - Wikipedia

From Wikipedia, the free encyclopedia

0° 0′ 0″

Description

This template converts a positive decimal degree value to degrees° minutesseconds'' format, or to degrees° minutesm secondss format (the degree symbol ° is invariant between the two formats).

Usage

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

See also

Math templates

Functions Numeral systems

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;
long tons and hundredweights to pounds and metric tons miles-chains miles and chains to kilometres linking "chains" decdeg degrees, minutes, and seconds to decimal degrees deg2dms decimal degrees to degrees, minutes, and seconds deg2hms decimal degrees to hour angle (in hours, minutes, and seconds) hms2deg hour angle (in hours, minutes, and seconds) to decimal degrees inflation calculate inflation of Consumer Price Index-related prices pop density population density in an area track gauge railway track gauges

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)
  • langle
  • rangle
  • angbr
  • angular brackets
  • bra-ket
  • braket
  • bra
  • ket
  • bra–ket notation
  • ldelim
  • rdelim
  • multiline delimiters (2–5 lines inclusive) ceil, floor calculations :mw:Help:#expr; formatting indicators 3.14, 3.14 (no calculation performed) pars parentheses that can be resized () fraction slant fractions 35 (not for maths/science articles; use standing or upright fractions {{sfrac}} instead) sfrac "standing" or upright fractions 3/5 (use in maths/science articles instead of{{fraction}}) intmath integral symbols
  • sub
  • sup
  • su
  • subscripts and superscripts
  • overset
  • underset
  • arbitrary characters/diacritics set above/below one another     tmath Wrap TeX in <math> tags

  • Boxes
  • Tags
  • Notices
  • Boxes Tags

    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