Welcome Guest, please sign in to participate in a discussion. Search | Active Topics |

Decimal Place Question PCF Rate this Topic:
Previous Topic · Next Topic Watch this topic · Print this topic ·
total3
Posted : Friday, February 3, 2017 4:40:42 AM
Registered User
Joined: 2/2/2017
Posts: 9

Hi, I run a european version Windows where the Decimal sign is a comma instead of a dot (and the dot is a comma, it's switched around)

So if for example if I write a PCF c/c1 > 1.02 it actually changes the 1.02 to 102.

I have changed the numbers setting within Windows itself and now it works, but it means my whole PC now runs on US decimal settings (which is not too good for other applications eg. Excel).

Is there a workaround within the PFC language or TC2000 ?   If I use a comma as in "1,02" it gives me an unexpected comma error.

Hoping you can help, thank you.

Martin

Bruce_L
Posted : Friday, February 3, 2017 9:15:44 AM


Worden Trainer

Joined: 10/7/2004
Posts: 65,138

The only workaround I have at the moment would be to re-write the PCF to not use any decimal markers.

100 * C > 102 * C1

You could also use the slightly shorter version below.

50 * C > 51 * C1



-Bruce
Personal Criteria Formulas
TC2000 Support Articles
total3
Posted : Friday, February 3, 2017 9:24:14 AM
Registered User
Joined: 2/2/2017
Posts: 9

That's a great idea, hadn't thought of that.  Thank you!

Bruce_L
Posted : Friday, February 3, 2017 9:24:52 AM


Worden Trainer

Joined: 10/7/2004
Posts: 65,138

You're welcome.



-Bruce
Personal Criteria Formulas
TC2000 Support Articles
Users browsing this topic
Guest-1

Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.