|Home » Technical Support » Elevate Web Builder Technical Support » Support Forums » Elevate Web Builder General » View Thread|
|Messages 1 to 4 of 4 total|
|DecimalSeparator doesn't work?|
|Thu, Jan 16 2014 5:30 AM||Permanent Link|
In Europe a comma is used decimals and a dot for thousands.
However when using
DecimalSeparator := ',';
the following error is shown
[Error] newrecord.wbs (62,7): The referenced variable, parameter, or function DecimalSeparator does not exist
Is this a bug?
|Thu, Jan 16 2014 5:53 AM||Permanent Link|
According to the help, it is a property of the global FormatSettings. Presumably
you must also ensure that its unit is included.
I find looking at the framework source is handy in working out how to use this sort
|Thu, Jan 16 2014 6:02 AM||Permanent Link|
That got me on the right track. The following is working.
FormatSettings.DecimalSeparator := ',';
However dots (.) are also changed to commas.
Unfortunately FormatSettings.ThousandSeparator doesn't exist.
|Fri, Jan 17 2014 2:35 PM||Permanent Link|
Tim Young [Elevate Software]
Elevate Software, Inc.
<< However dots (.) are also changed to commas. >>
I'll make sure that this is fixed in the next build (1.03 B2).