Locale.DecimalSeparator

From Xojo Documentation

Revision as of 02:33, 19 June 2019 by Gperlman (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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