Difference between revisions of "Template:HMS2Deg"
Jump to navigation
Jump to search
imported>Saintrain m (add link to DMS2Deg) |
imported>Salix alba (Category:Wikipedia formatting and function templates - more general than just maths) |
||
| Line 12: | Line 12: | ||
[[Template:DMS2Deg]] | [[Template:DMS2Deg]] | ||
| − | [[Category: | + | [[Category:Wikipedia formatting and function templates|{{PAGENAME}}]] |
</noinclude> | </noinclude> | ||
Revision as of 22:27, 24 September 2008
0
Usage: {{HMS2Deg|hours|minutes|seconds|p=precision}}.
This template returns an hour angle, given in hours|minutes|seconds, in decimal degrees.
So {{HMS2Deg|12|29|06.7}} returns 187.27792.
Only parameter p is optional (defaults to 6).
See also