DEC

The DEC function formats an integer value as a decimal string.

Syntax

DEC( INT value )

Parameters

value
The integer value to format.

Return value

A STRING containing the integer value formatted into decimal.

Example

INT value := 0x42;
STRING valueString := DEC(value);

PRINT("Value = ", valueString, "\n");

The output will be:

Value = 66

See Also