From Xojo Documentation

You are currently browsing the old Xojo documentation site. Please visit the new Xojo documentation site!

Read-Only Property (As String )
StringValue = aLocale.DecimalSeparator

New in 2019r2

Supported for all project types and targets.

The locale's separator between the integer and decimal portions of a number. In "un-US", this is the 'period'.

Sample Code

Get the locale's decimal separator:

Var USEnglishLocale As New Locale("en-US")

Var decimal As String
decimal = locale.DecimalSeparator