Skip to Content

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

Rouding the value to nearest no


I have to display 3/2 as 2.

if a = 3.

result = a / 2 = 1.5. i need output as 2.

a = 5

result a / 2 = 2.5. i need O/P as 3.

Could u please help me with the syntax for it.

If a is even no for me no problem but if it is odd no, i need to get the round of. ( .5 added to result).



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