double类型转换成int类型
public class test09 {
public static void main(String[] args) {
double a = 5000.44;
double b = 100.12;
double v = a / b;
int i = new Double(v).intValue();
System.out.println(i);
System.out.println(v);
}
梅花香自古寒来