TimeSpan.ToDouble

Syntax

ToDouble: Double;

Description

The ToDouble property returns the value of a time interval in the Double format.

Example

Sub UserProc;
Var
    t: TimeSpan;
Begin
    t := TimeSpan.Compose(1121000);
    Debug.WriteLine(t.ToDouble);
End Sub UserProc;

After executing the example the development environment console displays the value of the time interval using the Double format.

See also:

TimeSpan