3 ms·
That just feels like a "you're holding it wrong" type of thing, especially seeing how JS is held in such high regard for its floating point math accuracy.
by dylan604 2y ago
That just feels like a "you're holding it wrong" type of thing, especially seeing how JS is held in such high regard for its floating point math accuracy.
- stevage 2y agoIs that sacrcasm? Not sure what your point is.
- wiseowise 2y agoBoth Java and JS adhere to IEEE 754, what’s your point? Sure it doesn’t have BigDecimal, but you’re not going to write HFT in JS either.
- vitus 2y agoActually... https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/BigInt https://developer.mozilla.org/en-US/docs/Web/JavaScript/Refe...
- wayvey 2y agoInts should be used for currency calculations most of the time