Public Function DecimalToHMS( _
ByVal vDecimalHours As Variant _
) As Variant DecimalToHMS(4.5555) = 4.33198
DecimalToHMS( 4.76) = 4.4536
DecimalToHMS(-4.76) = -4.4536See also: HMSToDecimal Function
FormatDMSH FunctionReturn value: The return value will (usually) be a number in which the integer part represents hours, the first two floating point digits represent minutes, the next two digits represent seconds, and the remaining digits represent a fractional number of seconds. Copyright 1996-1999 Entisoft
Entisoft Tools is a trademark of Entisoft.