Angualr(typescript)保留2位小数

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

原文地址:https://www.cnblogs.com/jishugaochao/p/10456110.html