1.printf时已经转换成int,要用%d

2.float是4byte,double是8byte

3.float转换成int会损失精度