BigDecimal amount = new BigDecimal("2.55"); final int total = amount.multiply(new BigDecimal("100")).setScale(0, BigDecimal.ROUND_HALF_UP).intValue();
03-12
1万+
![](https://csdnimg.cn/release/blogv2/dist/pc/img/readCountWhite.png)
03-16
1292
![](https://csdnimg.cn/release/blogv2/dist/pc/img/readCountWhite.png)
08-15
1万+
![](https://csdnimg.cn/release/blogv2/dist/pc/img/readCountWhite.png)