‎2007 Dec 17 5:52 AM
Hi Experts
I have declared the data type as follows
Data : amt type p decimals 3. * But its decimal places = 3
But in the result am getting only 2 decimal places.
what could be the reason.
Pls suggest me on this.
Regards
Rajaram
‎2007 Dec 17 6:03 AM
Hi,
just copy this code and activate this, execute this code.
Data : amt type p decimals 3.
amt = 50 / 7.
write:/ amt.
now amt = 7.143.Here, as you have declared amt as
Data : amt type p decimals 3 you are getting output as 7.143
hope this works.
‎2007 Dec 17 6:03 AM
Hi,
just copy this code and activate this, execute this code.
Data : amt type p decimals 3.
amt = 50 / 7.
write:/ amt.
now amt = 7.143.Here, as you have declared amt as
Data : amt type p decimals 3 you are getting output as 7.143
hope this works.