Answers for "javascript format percentage"

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 "javascript format percentage"

Code answers related to "Javascript"

Browse Popular Code Answers by Language