Icon View Thread

The following is the text of the current message along with any replies.
Messages 1 to 4 of 4 total
Thread DecimalSeparator doesn't work?
Thu, Jan 16 2014 5:30 AMPermanent Link

Mike

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 AMPermanent Link

Matthew Jones

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
of thing.

/Matthew Jones/
Thu, Jan 16 2014 6:02 AMPermanent Link

Mike

Thank you.

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 PMPermanent Link

Tim Young [Elevate Software]

Elevate Software, Inc.

Avatar

Email timyoung@elevatesoft.com

Mike,

<< However dots (.) are also changed to commas. >>

I'll make sure that this is fixed in the next build (1.03 B2).

Tim Young
Elevate Software
www.elevatesoft.com

Image