From Wikipedia, the free encyclopedia
AboutThis helper template provides a way to convert geographic coordinates from degree, minute, second format to decimal degrees. It is intended for use in building infobox templates.
UsageThe template can be used with named or unnamed parameters as shown.
Parameter Description{{decdeg | deg = | min = | sec = | hem = | rnd = }}
Degrees Minutes Seconds Hemisphere Round
Input degrees can be signed in which case the hemisphere is not required. A negative value implies a value in the western or southern hemisphere. Minutes and seconds need not be specified. If no degrees are specified then a value of zero is assumed. This template does not attempt to trap invalid values and results in this case might be undefined.
The decimal precision of the result is determined by the value assigned rnd, which defaults to 7.
Currently this template does not attempt to trap invalid values.
ExamplesWhen using unnamed parameters, the hemisphere must be the fourth parameter:
Input can be signed or unsigned decimal degrees:
When using rounding, the factor must be the fifth parameter:
If a value is undefined then zero is assumed:
Negative zero values are accommodated:
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