2010年12月15日 - 原创 JAVA除法保留小数点后两位的两种方法 收藏. 1.利用Math.round()的方法: 两个int型的数相除,结果保留小数点后两位: int a=1188; int b=93;
zhenhu5131420.blog.163.com