Use divide , not div or /. 845.toBigDecimal().divide(BigDecimal(100)) // 8.45 "845.00".toBigDecimal() / BigDecimal(100) ... By Desmond Lua.
確定! 回上一頁