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);
    }

相关文章:

  • 2022-12-23
  • 2021-08-10
  • 2021-10-31
  • 2021-12-26
  • 2022-12-23
  • 2022-02-16
  • 2022-12-23
  • 2021-12-26
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2022-01-07
  • 2022-01-18
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案