DecimalSeparator: String;
The DecimalSeparator property returns the current decimal separator.
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: