Actions
Bug #9858
closedRuby math error
Bug #9858:
Ruby 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) almost 12 years ago
- Description updated (diff)
- Status changed from Open to Rejected
google "floating point error faq".
Actions