Icon View Thread

The following is the text of the current message along with any replies.
Messages 1 to 4 of 4 total
Thread EWB - FormatSettings
Mon, Aug 27 2012 9:41 AMPermanent Link

Tor J. M. Breines

Hi Tim.

I guess I am just stupid, but i Europe we use comma (",") as the decimal sign.
When I change this from "." to "," in the WebCore unit in the framework
there are some funny things hapening:

When I calculate 100,40 + 100,40 I get the result ",00.80".

Please give me some advice about what I am doing wrong.

Kind regards
TorB.
Mon, Aug 27 2012 10:52 AMPermanent Link

Uli Becker

Tor,
> When I calculate 100,40 + 100,40 I get the result ",00.80".

Since you know it: why don't you use 100.40 + 100.40?

Uli
Mon, Aug 27 2012 2:28 PMPermanent Link

Tim Young [Elevate Software]

Elevate Software, Inc.

Avatar

Email timyoung@elevatesoft.com

Tor,

<< I guess I am just stupid, but i Europe we use comma (",") as the decimal
sign. When I change this from "." to "," in the WebCore unit in the
framework  there are some funny things hapening:

When I calculate 100,40 + 100,40 I get the result ",00.80". >>

It's a bug in the StrReplace functionality that swaps out the decimal
separators.  For now, just use the default '.' separator, and a fix will be
available shortly that corrects this.

Thanks,

Tim Young
Elevate Software
www.elevatesoft.com
Mon, Aug 27 2012 3:56 PMPermanent Link

Uli Becker

Addition: sorry, I misunderstood your question.

Uli
Image