你可以将javascript中的数字舍入到小数点后的1个字符(正确舍入)吗?
我尝试了*10,round,/ 10但它在int的末尾留下了两位小数.
javascript rounding
javascript ×1
rounding ×1