PI. 下面的函数使用Math.PI 计算给定半径的圆周长:. function calculateCircumference (radius) { return 2 * Math.PI * radius; } calculateCircumference(1); ...
確定! 回上一頁