... 为string,有点好奇,一般通过parseFloat()或者parseInt()是转为number类型,但是保留两位小数,用到了确定浮点数的精度,使用toFixed()来实现的,用法如下.
確定! 回上一頁