ICultureInfo.DecimalSeparator

Syntax

DecimalSeparator: String;

Description

The DecimalSeparator property returns the current decimal separator.

Example

Sub UserProc;
Var
    CF: ICultureInfo;
Begin
    CF := CultureInfo.UserDefault;
    Debug.WriteLine("'" + CF.DecimalSeparator + "'");
    Debug.WriteLine("'" + CF.ThousandSeparator + "'");
End Sub UserProc;

On executing the example the current culture determined in the operating system will be obtained. The development environment console displays decimal separator and thousands separator determined for the culture.

See also:

ICultureInfo