top | item 38708288

(no title)

joshjje | 2 years 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.

discuss

order

Tainnor|2 years ago

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