java 有提供次方运算, 您可以参考java.lang.math pow( )用法: static pow(double a, double b) 例如: 求取3 的5 次方则写成math.pow(3, 5) , 将会得到 ...
確定! 回上一頁