三角函数: public static double sin (double radians) public static double cos(double radians) public static double tan(double radians) public static double toRadians (double degree) public static double toDegrees (double radians) public static double asin…
1.Math.ceil(x) 返回x的向上取整. var a=Math.ceil(9.1); var b=Math.ceil(-9.1) console.log(a); console.log(b); //-9 2.Math.floor(x) 返回x的向下取整. var a=Math.floor(9.1); var b=Math.floor(-9.1) console.log(a); console.log(b); //-10 3.Math.round(x) 返回x四舍五入后的整数. var a…