Math

Math.sin(t)   // sin(t)

Math.power(x,2*i)   // x的2i次方

(double)(Math.round(sum*1000000))/1000000;   //精确到0.000001, Math.round()四舍五入取整

原文地址:https://www.cnblogs.com/airbluecat/p/6180349.html