05-28-2008 1:59 PM
Hi,
Am using the Data type DEC to display values for my database table. I have to display values like 1234.5678,but inspite of giving decimal places to 4 I am getting those values as 1234,5678.Why is that ?
What to change.
05-28-2008 2:04 PM
Hi,
Goto Menu SYSTEM -> USER PROFILE -> OWN DATA then click on defaults tab and check the Decimal Notation field. Change the value as your wish from the list of drop down values. Then save it.
Rgds,
Bujji
05-28-2008 2:04 PM
Try this
data: val type p decimals 5 .
val = '1000.888'.
write:/ val.
so you should use packed decimal
05-28-2008 2:04 PM
Hi,
Goto Menu SYSTEM -> USER PROFILE -> OWN DATA then click on defaults tab and check the Decimal Notation field. Change the value as your wish from the list of drop down values. Then save it.
Rgds,
Bujji