#7 BigDecimal instead of double

pending
nobody
FeatureRequest
Rejected
2014-05-27
2013-12-11
Anonymous
No

It would be great if BigDecimal were used instead of double, it would solve the famous 0.1 + 0.2 = 0.300...004 issue.

Currently,
new DoubleEvaluator().evaluate("0.1 + 0.2");
returns
0.30000000000000004

Discussion

  • Fathzer
    Fathzer
    2014-05-27

    • status: open --> pending
    • Reply: None --> Rejected
     


Anonymous


Cancel   Add attachments