TotalHours

Namespace ›› System ›› MfTimeSpan ›› Properties ››
Parent Previous Next

TotalHours

Gets the value of the current MfTimeSpan object expressed in whole and fractional hours as MfFloat object.

OutputVar := instance.TotalHours

Value

Instance of MfFloat

Gets

The total number of hours represented by this MfTimeSpan instance as a read-only instance of MfFloat.

Remarks

TotalHours converts the value of this instance from ticks to hours. This number might include whole and fractional hours.
TotalHours represents whole and fractional days, whereas the Hours property represents whole hours.
TotalHours is a read-only instance of MfFloat with ReturnAsObject set to true.