JavaScript中在指定位置插入字串
formatter:function (value,row,index) {
var price = row.productPrice.toString();
var len = price.length;
return price.slice(0, len-2) + '.' + price.slice(len-2);
}
轉載請註明出處,本文鏈接:https://www.uj5u.com/qianduan/339180.html
標籤:其他
