vue中提示toFixed不是函数

 vue中toFixed获取小数点后两位  
错误提示:
.toFixed is not a function
解决办法:
Number
(_this.group_cash).toFixed(2)

转自:https://www.cnblogs.com/WoAiZmm/p/8000409.html

原文地址:https://www.cnblogs.com/ch-zaizai/p/8329047.html