FromDouble(Value: Double);
Value. The real value that should be converted to date and time format.
The FromDouble method returns time interval value obtained by conversion from the Double format.
Sub UserProc;
Var
t: TimeSpan;
Begin
t := TimeSpan.FromDouble(1.5);
Debug.WriteLine(t.ToString);
End Sub UserProc;
After executing the example the development environment console displays the value of a time interval obtained by conversion from the Double format.
See also: