function(){ return (1-this.percentage)*100+'%';}
function(){ return ((1-this.percentage)*100).toFixed(0)+'%';}
试一下?
单元格上直接选格式不行吗
function(){ return parseInt((1-this.percentage)*100)+"%";}
效果
function(){
return Math.round(this.percentage*100).toFixed(0)+'%';
}