The %.2f syntax tells Java to return your variable (value) with 2 decimal places (.2) in ... DecimalFormat df = new DecimalFormat(); df.
確定! 回上一頁