我需要以下结果
100.12 -> 100.00 100.44 -> 100.00 100.50 -> 101.00 100.75 -> 101.00
.round()还是.setScale()?我该怎么做?
.round()
.setScale()
java rounding bigdecimal
bigdecimal ×1
java ×1
rounding ×1