This template converts an hour angle , given in hours :minutes :seconds format, to decimal degrees .
{{HMS2Deg|hours |minutes |seconds |p=precision |sup=superscript }}
.
Hours is required. Minutes , seconds , parameter p , and parameter sup are all optional and default to 0, 0, 6, and <null>, respectively. To include the degree symbol °
, add any text to |sup=
.
For example:
{{HMS2Deg|12|29|06.7|p=5|sup=y}}
returns 187.27792°.
{{HMS2Deg|12|p=5}}
returns 180.
{{HMS2Deg|12}}
returns 180.
Math templates
Functions
Numeral systems
mvar individual italicized maths variables in normal text
overline
underline a line set above/below a sequence of characters overarc an arc set above a sequence of characters
overset
underset arbitrary characters/diacritics set above/below one another pars parentheses that can be resized ( ∑ ) sfrac "standing" or upright fractions 3 / 5 (use in maths/science articles instead of{{fraction }}
)
sub
sup
su subscripts and superscripts tmath Wrap TeX in <math> tags tombstone symbol indicating the end of a proof val measurement values, uncertainties and units vec various overarrows, underarrows, etc.