我用它來計算圓周率(割圓法,即多邊形逼近),得到了小數點後一百位有效 ... Math.floor(nTmp2 / 10000000); result.data[i] = nTmp2 % 10000000; ...
確定! 回上一頁