Skip to Content
0
Former Member
Sep 08, 2009 at 10:00 AM

Issue with display of decimal places

46 Views

Hi,

In our custom built components we are facing a strange issue with the display decimals where the data type of an element is "QUAN - Quantity field, points to a unit field with format UNIT".

If the element has a value of 3000.000 KG the value is displayed as 3000. Where as for an element which has a value 3000.123 KG the same is displayed as it is with the decimals. We tried to resolve the issue by using Text editor or Input field as read only but in vain. The display property in the context are set to default.

If we change the element data type reference to "Dec - Counter or amount field with Comma and Sign" then all the values are displayed with the decimal places even if decimals are zero.

As a result we are facing alignment issues for the various quantity related elements displayed on the screen. To change the underlying data type of the element is a not a solution for us as the data type quan is required for conversion from one unit to another unit.

Can someone please advise how we could resolve this issue. We are on NW 7.0 + EHP4 + NW 7.01 SP4, kernel patch level 55 for 7.01

Regards

Rohit Chowdhary