From Xojo Documentation

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

Read-Only Property (As Text )
TextValue = aXojo.Core.Locale.DecimalSeparator

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 locale As New Xojo.Core.Locale("en-US")

Var decimal As Text
decimal = locale.DecimalSeparator