Double.ToString

Syntax

ToString: String;

Description

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

Example

Sub Main;

Var

b: Boolean;

i: Integer;

S: String;

d: Double;

Begin

i := 123;

b := True;

d := 1.245;

s := i.ToString + b.ToString + d.ToString;

End Sub Main;

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

See also:

Double