js 让小数四舍五入保留两位小数的函数是? 例子:data.relations[i].data[j].toFixed(2) toFixed(2)这个函数就是保留两位小数的作用 转载于:https://www.cnblogs.com/oymx/p/4828071.html