6 ms·
Sometimes a framework will do weird things, like convert it to scientific notation, or round it, or add a ton of zeroes. Like BigDecimal in Java and Decimal in
by joshjje 3y ago
Sometimes a framework will do weird things, like convert it to scientific notation, or round it, or add a ton of zeroes. Like BigDecimal in Java and Decimal in C#. They can sneak up on you.
- Tainnor 3y agoBigDecimals aren't floats, though. They're arbitrary precision rational numbers.