Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Removal of decimal

Hi,

In my pgm,I declared one variable(stores the amount value) which s of type 'BAPICURR-BAPICURR'(in order to put the commas in the amount).Now the requirement is,I have to put only the commas not the decimal place.

EX:

input:1234325

expected o/p:1,234,325.

Output I m getting is :1,234,325.0000

I need to remove that 4 zeroes.

Suggest me the solution.

Tags:
Former Member
Former Member replied

My above piece of code, does display commas, it removes decimals.

0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question