How do turn this number: 2499 to 24.99
I attempted:
const qty = 2499; console.log(qty.toFixed(2));
and I get 2499.00
const qty = 2499 / 100; console.log(qty.toFixed(2));