HALF_EVEN , and we can use setRoundingMode(RoundingMode) to set a specified rounding mode. DecimalExample.java. package com.mkyong.math.
確定! 回上一頁