Template:HMS2Deg/doc

Description
This template converts an hour angle, given in hours:minutes:seconds format, to decimal degrees.

Usage
.

Hours is required. Minutes, seconds, parameter p, and parameter sup are all optional and default to 0, 0, 6, and, respectively. To include the degree symbol, add any text to sup.

For example:

returns 12:29:06.7. returns 12:0:0. returns 12:0:0.