Actions
Bug #9858
closedRuby math error
Description
While in IRB session or executing as a script, when performing the sum
21.1 + 7.6
the output is
28.700000000000003
not
28.7
Files
Updated by nobu (Nobuyoshi Nakada) about 11 years ago
- Description updated (diff)
- Status changed from Open to Rejected
google "floating point error faq".
Actions
Like0
Like0