anirudh jagithyala wrote: int/double=double;;;;double/int=double therefore 3/2d=3/2.0=1.5(double)=1.5 d2=1.5 Hope it is clear