# 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.