Attribute value datatype rules regarding decimal values

Datatype decimal:

  • valid decimalplaces are orientating on

    • Scale-setting of Repository

    • physical database field size

  • Entered decimal '0' digits are not persistet but added in the user interface by current scale settings of repository

Floatingpoint:

  • valid decimalplaces are orientating on

    • physical database field size

  • Entered decimal '0' digits are not persistet in the database and are not displayed in the user interface (1.0000 will be displayed as 1)

Entering decimal or floatingpoint values

Currently if you are entering 15.0 this will be changed to 150 when a german locale is given. This is an issue

Solution: A validation error is thrown if the value can not be converted unambiguously in a number.

1.500 -> 1.500 = is correct

1.50 -> Error, no valid number

Check if grouping character is on correct position. The convertion algorithm is valid for both, decimal and floating point values.