Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
joshjje
· 2y ago · 0 comments
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.
Comments
[–]
Tainnor
2y ago
BigDecimals aren't floats, though. They're arbitrary precision rational numbers.