TimeToDecimal Method
Converts a time interval to the indicated time unit.
Namespace: Aliquo.CoreAssembly: Aliquo.Core (in Aliquo.Core.dll) Version: 5.0.9179.22651
public static decimal ToDecimal(
TimeSpan time,
TimeUnit inTimeUnit
)
Public Shared Function ToDecimal (
time As TimeSpan,
inTimeUnit As TimeUnit
) As Decimal
- time TimeSpan
- Time interval.
- inTimeUnit TimeUnit
- Unit of time.
DecimalDecimal with the time interval.