無條件 捨去. var BMI = (weight / (height * height);. 而JavaScript的四捨五入功能只能用「Math.round()」到整數. 可以先乘以10的n次方(視保留位數而 ...
確定! 回上一頁