How to put toFixed if there is a multiplication?
-
How to put toFixed to the 'k' variable correctly?
progrNumPer.innerHTML = '(' + k * 0.2 + '%' + ')';JavaScript Anonymous, Oct 28, 2019 -
k = k.toFixed(2)
progrNumPer.innerHTML = '(' + k*0.2 + '%' +')';Micah Rojas
1 Answers
Your Answer
To place the code, please use CodePen or similar tool. Thanks you!