最佳答案:float能定义两位小数。能的,double在编程里也是小数的意思,float的精确度比double低一点 float f = 34.232323; BigDecimal b = new BigDec