Easy to Create, Easy to Change - Easy to use!


Problem with , Comma as Decimal separator in derivation after migration to 8.1


Started by Marco
Search
You will need to Sign In to be able to add or comment on the forum!

Problem with , Comma as Decimal separator in derivation after migration to 8.1

I write from Italy and we are migrating from 6.52 to 8 and I've a little problem with a derivation that use a comma as decimal separator as follow :

(Imponibile * 12,5 / 100) Imponibile

 #1: Error in parsing derivation for field PremioLordo

 My control panel is correctly settled

Written by Marco 19/02/14 at 11:26:22 Dataease [{8}]FIVE

Re:Problem with , Comma as Decimal separator in derivation after migration to 8.1

In DataEase pre 7. the national settings was used in coding too so you would use , in countries like Italy, Norway and . in UK etc.

This made applications hard to "transport". If you changed your windows settings the app would stop working etc.

In 7.2 this was changed so that . DOT was standardized for all languages. This is the same as for all other development tools.

Since this could cause problems with migrations i.e. backwards compatibility we introduced an override which one could put in RDRRxAAA.INI

DecimalDelimeter=

[INTERFACE]

ApplicationCaption=DataEase: MigrationTest

DecimalDelimiter=44

ShowCatalog=1

ShowToolbar=1

ShowStatusbar=1

...

You can in principle choose any Decimal delimiter you want, but 44 (ASCII) is , COMMA.

You are also able to do this when you Migrate the app from DFW 5/6x to DE 8.1

Simply check "Comma as separator (Not recommended)".

Written by DataEase 19/02/14 at 11:50:13 Dataease [{8}]FIVE