ICultureInfo.FormatCurrency

Syntax

FormatCurrency(Value: Currency): String;

Parameters

Value. Value converted into string type.

Description

The FormatCurrency method converts the specified value of currency type into string type according to regional standard settings.

Example

Function GetInvariantCurrency(Value: Currency): String;
Var
    CI: ICultureInfo;
Begin
    CI := CultureInfo.Invariant;
    Return CI.FormatCurrency(Value);
End Function GetInvariantCurrency;

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

See also:

ICultureInfo