Description Usage Arguments Details Value Author(s) Examples
Convert a decimal number to sexigesimal
1 | sixty(scalar, trailsign = F)
|
scalar |
decimal quantity, scalar |
trailsign |
if =TRUE, then the function returns a negative sign to the first element, even if it is zero. If = FALSE, then the function returns a negative sign in the first nonzero element. (default = FALSE) |
Reverse of the function ten.
result |
real vector of three elements, sexigesimal equivalent of input decimal quantity |
Written by R. S. Hill, STX, 1987
R adaptation by Arnab Chakraborty June 2013
1 2 3 |
[1] 136.0 7.0 37.2
[1] 0 -20 42
[1] 0 20 42
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.