3 ms·
That may be true but another case where floating point should be avoided is with money. Now think about all the times a web developer innocuously used a JS numb
by hardwaregeek 5y ago
That may be true but another case where floating point should be avoided is with money. Now think about all the times a web developer innocuously used a JS number to represent a price. I wouldn’t be surprised if floating point errors affected billions of dollars of transactions.