SofaTf2d Method
Convert hours, minutes, seconds to days.
Namespace: ASCOM.ToolsAssembly: ASCOM.AstrometryTools (in ASCOM.AstrometryTools.dll) Version: 3.0.0-rc.1+86c25ce733aebb4d8b1b8a62e84770ea5e972bea
public static int Tf2d(
char s,
int ihour,
int imin,
double sec,
ref double days
)
Public Shared Function Tf2d (
s As Char,
ihour As Integer,
imin As Integer,
sec As Double,
ByRef days As Double
) As Integer
- s Char
- Sign ('-' = negative, otherwise positive).
- ihour Int32
- Hours.
- imin Int32
- Minutes.
- sec Double
- Seconds.
- days Double
- Returned interval in days.
Int32Status code: 0 = OK, <0 = error.
Supported in: 2.0