ICultureInfo.FormatInteger

Syntax

FormatInteger(Value: Integer): String;

Parameters

Value. Value converted into string type.

Description

The FormatInteger method converts integer values into string type according to regional standard settings.

Example

Function GetInvariantInteger(Value: Integer): String;
Var
    CI: ICultureInfo;
Begin
    CI := CultureInfo.Invariant;
    Return CI.FormatInteger(Value);
End Function GetInvariantInteger;

The specified function can be used to convert integer values into string type according to invariant culture settings.

See also:

ICultureInfo