Answers for "get % of number javascript"

8

get % of number javascript

Integer = 4857;
Percentage = 30;

console.log(Integer / 100 * Percentage) // 1457.1
console.log(Math.round(Integer / 100 * Percentage)) // 1457
Posted by: Guest on October-03-2021

Code answers related to "get % of number javascript"

Code answers related to "Javascript"

Browse Popular Code Answers by Language