转: Java:对double值进行四舍五入,保留两位小数的几种方法1. ... public static String formatDouble5(double d) { return String.format("%.2f", ...
確定! 回上一頁