把字符串轉換成BigDecimal作為參數傳入的話,可以直接new BigDecimal(Integer.parseInt(String))
posts - 3, comments - 0, trackbacks - 0, articles - 1
Copyright © 山長水遠