Skip to content
Better HN
Top
Best
Ask
Show
New
Jobs
Search
⌘K
0 points
joshjje
2y ago
0 comments
Save
Share
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.
0 comments
1 comments · 1 top-level
top
newest
oldest
Tainnor
2y ago
BigDecimals aren't floats, though. They're arbitrary precision rational numbers.
j
/
k
navigate · click thread line to collapse