Skip to Content
0
Sep 08, 2010 at 08:15 AM

How can i remove the zero from decimal ?

192 Views

Dear Guru ,

I am writing an abap program and i want to remove all zero from decimal side .

For instance :

DATA : L_A TYPE MENGE VALUE '333.000' .

DATA : L_A TYPE MENGE VALUE '3335.300' .

.....

.....

OUTPUT :
333
3335.3

Is it possibile to do that ?

Thanks .

Best Regards,

Carlos Zhang