int a =1;
int b =3;
float c = a/b;
Math.round(c,2);
转载于:https://www.cnblogs.com/Mblog/archive/2010/03/25/1695350.html