更新时间:2023-12-03 16:04:40
使用 num.toFixed(d)
使用 d
digits 基数10 中该数字的字符串表示 / em>小数点后,在这种情况下,
Use num.toFixed(d)
to convert a number into the String representation of that number in base 10 with d
digits after the decimal point, in this case,
margin_total.toFixed(3);