TimeToDecimal Method

Converts a time interval to the indicated time unit.

Definition

Namespace: Aliquo.Core
Assembly: Aliquo.Core (in Aliquo.Core.dll) Version: 5.0.9179.22651
C#
public static decimal ToDecimal(
	TimeSpan time,
	TimeUnit inTimeUnit
)

Parameters

time  TimeSpan
Time interval.
inTimeUnit  TimeUnit
Unit of time.

Return Value

Decimal
Decimal with the time interval.

See Also