Template:Deg2HMS/doc
< Template:Deg2HMS
Jump to navigation
Jump to search
Revision as of 03:12, 21 November 2014 by imported>Tom.Reding (Will try to add "h", "m", and "s" superscript capabilities in the future.)
| This is a documentation subpage for Template:Deg2HMS. It contains usage information, categories and other content that is not part of the original template page. |
Usage
{{Deg2HMS|decimaldegrees|p=precision}}.
This template converts a decimal degree value, typically right ascension, to hours:minutes:seconds format.
{{Deg2HMS|266.416837|p=4}} returns 17:45:40.0409.
Parameter p is optional, which defaults to 3.
See also