要從中取出字符串,只需調用 BigDecimal 的 toString 方法,或 toPlainString Java 5+的純格式字符串方法。 示例程序: package trials; import java.math.BigDecimal; ...
確定! 回上一頁