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

小数点后保留两位小数

dicountPrice.toFixed(2)

 

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