BigDecimal 转 int

 BigDecimal a=new BigDecimal(16.8856); int b=a.intValue();  System.out.println(b);//b=16;       
相关文章
相关标签/搜索