經安全檢測,此網站為安全網站,請放心前往原始網址!

JAVA笔记:double四舍五入并保留两位小数的方法- 天空没有痕迹但我 ...

2013年10月20日 ... 方案一: get_double = (double)(Math.round(result_value*100)/100.0) //方案二: DecimalFormat df = new DecimalFormat("#.##"); get_double ...

glblong.blog.51cto.com

網址安全性掃描由 google 提供