![]() |
Institut für Astronomie und AstrophysikAbteilung AstronomieSand 1, D-72076 Tübingen, Germany |
![]() |
SIXTY()
Converts a decimal number to sexigesimal.
Reverse of the TEN() function.
X = SIXTY( SCALAR )
SCALAR -- Decimal quantity.
Function value returned = floating real vector of three elements,
sexigesimal equivalent of input decimal quantity.
A negative number is signified by making the first non-zero
element of the output vection negative.
Mostly involves checking arguments and setting the sign.
If x = -0.345d then sixty(x) = [0.0, -20.0, 42.0]
Written by R. S. Hill, STX, 19-OCT-87
Output changed to single precision. RSH, STX, 1/26/88
Accept single element vector W. Landsman Sep. 1996
Converted to IDL V5.0 W. Landsman September 1997
[Home Page] [Software, Documentation] [IDL Documentation] [Quick Reference] [Feedback]