Skip to Content

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

remainder and quotient

Hi Folks,

a = 4

b = 2

c = a/b

c = 2.

d = remainder.

e = quotient.

Now I have to get the remainder of this too and store it in a variable.For the above caluculation remainder is 0 and quotient is 2.How to get these two values.

K.Kiran.

Tags:
Former Member replied

Hi,

DIV - integer division

MOD - remainder for integer division

<b>reward points if useful.</b>

regards,

Vinod Samuel.

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