Hacker News new | ask | show | jobs
by joshjje 907 days 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.
1 comments

BigDecimals aren't floats, though. They're arbitrary precision rational numbers.