13_API_Math
1.功能
2.构造方法
3.静态方法
//random方法,返回[0.0,+oo)的double值 System.out.println(Math.random()); //abs方法,返回参数的绝对值 System.out.println(Math.abs(-100)); //floor方法,向下取整的double值 System.out.println(Math.floor(1.9)); //round方法,四舍五入 System.out.println(Math.round(1.5)); //ceil方法,向上取整的double值 System.out.println(Math.ceil(1.2));