Double.ToString

Syntax

ToString: String;

Description

The ToString property returns the value of the current variable converted into string type.

Example

Sub UserProc;
Var
    I: Integer;
    B: Boolean;
    D: Double;
    S: String;
Begin
    I := 123;
    B := True;
    D := 1.245;
    S := i.ToString + b.ToString + d.ToString;
End Sub UserProc;

After executing the example the "S" variable contains the value 123True1.2450000000000001.

See also:

Double