Template:DEC

From blackwiki
Revision as of 22:56, 27 August 2008 by imported>Saintrain (Update to also display decimal degrees)
Jump to navigation Jump to search

{{{1}}}° {{{2}}}′ (0°)

Usage: {{DEC|degrees|minutes|seconds|p=precision}}.

Formats a declination angle (expressed in degrees, minutes and seconds), and in decimal degrees.

So {{DEC|+02|03|09|p=5}} displays as +02° 03′9 (2.0525°)
and {{DEC|+02|03}} displays as +02° 03′ (2.05°)

The third parameter, seconds, is optional.
The optional fourth parameter, p(recision), sets number of decimals to display (defaults to 5).

See also

bg:Шаблон:Делта de:Vorlage:Deklination el:Πρότυπο:DEC fa:الگو:DEC ja:Template:DEC sl:Predloga:DEC vi:Tiêu bản:DEC