int只能表示整数,可以用float或double表示,其中float表示单精度型,double表示双精度型
float,double都可以。int 只能表示整数。
可以用float 或者double表示int 只能表示整数
float, int只能保存整数
float单精度 double双精度