Angualr(typescript)保留2位小数

Number(this.value).toFixed(2);

posted on 2019-03-01 14:10  技术高超  阅读(2864)  评论(0)    收藏  举报