[JQuery] 保留小数位

parseFloat(字符串).toFixed(小数点后保留几位)
posted @ 2023-10-23 16:32  llkj  阅读(30)  评论(0编辑  收藏  举报