摘要: 常用API(二) Math Math代表数学,是一个工具类,里面提供的都是对数据进行操作的一些静态方法。 Math类提供的常用方法 方法名 说明 public static int abs(int a) 获取参数绝对值 public static double ceil(double a) 向上取整 阅读全文
posted @ 2024-03-12 13:41 zgg1h 阅读(61) 评论(0) 推荐(0)