Dear Statalist,

I have 3 variables

b1 b2 b3

gen b=b1+b2+b3

gen c1=round(b1)

gen c2=round(b2)

gen c3=round(b3)

gen c2=round(b2)

gen c3=round(b3)

gen c=c1+c2+c3

My question:

Is there any rounding methods to make b equal to c?

Code:

b1 b2 b3 32.64 .6044444 .7555556 14.28261 .3260869 .3913044 21.72766 .4893617 .7829787

## Comment