-
Type: Bug
-
Resolution: Gone away
-
Priority: Unknown
-
None
-
Affects Version/s: None
-
Component/s: None
Using the BigDecimal lib raised some quetions for me:
This:
new Decimal128("42540766411282592856903984951653826560")
will result in this:
5.365187752239360396701409506276493E+37
And this:
new Decimal128("42540766411282592856903984951653820000")
will result in this:
4.254076641128259285690398495165382E+37
Why is this so different?
- related to
-
NODE-5047 node.js driver Decimal128 fromString breaks when precision is greater then 34 decimal places
- Closed