//75.26% 转化为75.26
var num = '75.26%';
num = num.replace(/\%/,"")
console.log(num);//75.26
//保留一位四舍五入之后
var val = (num*1).toFixed(1)+'%'
console.log(val)// 75.3%
//保留一位不四舍五入
var flo = Math.floor(num*10)/10+'%'
console.log(flo)//75.2%
//75.26% 转化为75.26
var num = '75.26%';
num = num.replace(/\%/,"")
console.log(num);//75.26
//保留一位四舍五入之后
var val = (num*1).toFixed(1)+'%'
console.log(val)// 75.3%
//保留一位不四舍五入
var flo = Math.floor(num*10)/10+'%'
console.log(flo)//75.2%