var money= Math.round(money* 10) / 10
参考资料:https://blog.csdn.net/weixin_43887789/article/details/93298695
var money= Math.round(money* 10) / 10
参考资料:https://blog.csdn.net/weixin_43887789/article/details/93298695
本文标题:JS中使用Math.round(x)保留1位小数点
本文链接:https://www.haomeiwen.com/subject/akflvctx.html
网友评论