Skip to Content
0
Former Member
Mar 29, 2010 at 11:20 AM

How can i remove zeros after the Decimal

1828 Views

Data : G_SUM TYPE p DECIMALS 5.

I am doing calculation and the value of G_SUM will be 20.00000

Now, my requirement is : -

Can i remove all the zeros after the decimal.

If the G_SUM value is 20.23000

Now, it should become : -

20.23

Any suggestino will be appreciated!

Regards,

Kittu