Description Usage Arguments Details Value Author(s) See Also Examples
Convert a sexigesimal number or string to decimal
1 | ten(dd, mm=0, ss=0)
|
dd |
degrees (0-360) or hour (0-24), integer, scalar |
mm |
minutes, integer (0-60), scalar (default = 0) |
ss |
seconds, integer (0-60), scalar (default = 0) |
The output is a real number
1 | = dd + mm/60. + ss/3600
|
. Inverse of the sixty function. The function tenv can be used when dealing with a vector of sexigesimal quantities.
|
decimal equivalent of input sexigesimal quantity, real, scalar |
Written W. Landsman Raytheon ITSS 2000
R adaptation by Arnab Chakraborty June 2013
1 2 3 4 |
[1] 12
[1] 12
[1] 0.3927778
[1] -0.3927778
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.