Closed jfstephe closed 6 years ago
Hi, The example jsFiddle doesn't work straight away. There's a bug -
document.querySelector(".result").textContent = format(mask, value);
should be
document.querySelector(".result").textContent = format(mask, parseFloat(value, 10));
Thanks again for your hard work here! John
Hi @jfstephe!
It's been fixed, thanks!
Hi, The example jsFiddle doesn't work straight away. There's a bug -
document.querySelector(".result").textContent = format(mask, value);
should be
document.querySelector(".result").textContent = format(mask, parseFloat(value, 10));
Thanks again for your hard work here! John