Project

General

Profile

Bug #7024

90 * 1.1 => 99.00000000000001

Added by Bahanix (Julien -) about 8 years ago. Updated about 8 years ago.

Status:
Rejected
Priority:
Normal
Assignee:
-
Target version:
ruby -v:
ruby 1.9.3p194 (2012-04-20 revision 35410) [i686-linux]
Backport:
[ruby-core:47535]

Description

$ ruby -v
ruby 1.9.3p194 (2012-04-20 revision 35410) [i686-linux]
$ irb
1.9.3p194 :001 > 90*1.1
=> 99.00000000000001
1.9.3p194 :002 > 90.0*1.1
=> 99.00000000000001

Expected value: 99.0

Thanks for your job every one!

Also available in: Atom PDF