Skip to Content

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

Commercial rounding to the closest integer number


I have a requirement to convert the Menge(quantity) to the nearest integer number by rounding off.

For example 21.490 becomes 21.000 while 21.510 becomes 22.000.

I checked for Floor, Ceil statements but these are not solving my purpose as they give next lowest or highest value.

I need to convert it as per my example. At run time it should check first place after decimal and then should convert it accordingly.

Please help if any pointers available.

Thanks in advance.


Former Member
Not what you were looking for? View more on this topic or Ask a question