【js】小数点后保留两位小数

小数点后保留两位小数

dicountPrice.toFixed(2)

 

posted @ 2018-01-12 15:57  Angel挤一挤  阅读(380)  评论(0编辑  收藏  举报