Answers for "percentage format javascript"

1

format percentage javacsript

var x=150;
console.log(parseFloat(x).toFixed(2)+"%");
x=0;
console.log(parseFloat(x).toFixed(2)+"%");
x=10
console.log(parseFloat(x).toFixed(2)+"%");
Posted by: Guest on July-23-2021

Code answers related to "percentage format javascript"

Code answers related to "Javascript"

Browse Popular Code Answers by Language