var A=0.3587;
document.getElementById("eastRate").innerHTML = A.toPercent();
Number.prototype.toPercent = function() {
return (Math.round(this * 10000) / 100).toFixed(0) + '%'; //36%
}
Number.prototype.toPercent = function() {
return (Math.round(this * 10000) / 100).toFixed(1) + '%'; //35.9%
}