3 ms·
Handling currency in JavaScript just sounds like a bad idea. It's better to be using a language with a type system that has your back on this kind of thing, and
by bschwindHN 8y ago
Handling currency in JavaScript just sounds like a bad idea. It's better to be using a language with a type system that has your back on this kind of thing, and preferably to deal with monetary values as rational numbers.
There's a good article on this subject here:
https://ren.zone/articles/safe-money https://ren.zone/articles/safe-money