BigDecimal 轉 int

 BigDecimal a=new BigDecimal(16.8856); int b=a.intValue();  System.out.println(b);//b=16;       
相關文章
相關標籤/搜索