Description
This template converts an hour angle, given in hours:minutes:seconds format, to decimal degrees.
Usage
{{HMS2Deg|hours|minutes|seconds|p=precision}}
.
Minutes, seconds, and parameter p are all optional and default to 0, 0, and 6, respectively.
For example:
{{HMS2Deg|12|29|06.7|p=5}}
returns 187.27792.
{{HMS2Deg|12|p=5}}
returns 180.
{{HMS2Deg|12}}
returns 180.
See also
Math templates |
---|
|
Conversions |
---|
bbl to t | barrels of oil to tonnes
| convert |
| convert/scale | to convert any linearly related units
| long ton | long hundredweights, quarters and pounds to kilograms; long tons and hundredweights to pounds and metric tonnes
| convinfobox | for use in infoboxes
|
|
|
|
|
Notation |
---|
| mvar | a short form to refer to individual italicized maths variables in normal text
| | arbitrary characters/diacritics set above/below one another
| radic |
| sfrac |
| sqrt |
| |
| tmath
| wraps a TeX math expression in <math> tags
| val | to report measurement values, uncertainties and units
| vec | for various overarrows, underarrows, pointing left, right or both ways
|
|
|
|
|
|