在format裡轉型成double. String text = mDecimalFormat.format((double)mNumber); /** * text印出結果為 : 12,345 */ //如果數字型態為String
確定! 回上一頁