摘要: math类的各种方法 1.绝对值int abs = Math.abs(-9);System.out.println(abs);//92.pow 求幂double pow = Math.pow(2, 4);//2 的 4 次方System.out.println(pow);//163.ceil 向上取 阅读全文
posted @ 2023-07-24 19:12 夏季彼岸德 阅读(14) 评论(0) 推荐(0)