Decimal.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;

d: Decimal;

s: String;

Begin

d := 123;

b := True;

s := d.ToString + b.ToString;

End Sub Main;

After executing the example the "s" variable will contain the value 123True.

See also:

Decimal