js取两位小数点

var money = one.money;
var tmoney = money.substr(0,money.indexOf(".")+3);

posted @ 2017-11-11 11:10  Monroe_Yu  阅读(232)  评论(0)    收藏  举报