Issue #12065 has been updated by Hiroshi SHIBATA.

Status changed from Open to Rejected

----------------------------------------
Bug #12065: problem with multiplication 2 numbers
https://bugs.ruby-lang.org/issues/12065#change-56978

* Author: Andrea Valdambrini
* Status: Rejected
* Priority: Normal
* Assignee: 
* ruby -v: ruby 2.3.0p0 (2015-12-25 revision 53290) [x86_64-linux]
* Backport: 2.0.0: UNKNOWN, 2.1: UNKNOWN, 2.2: UNKNOWN, 2.3: UNKNOWN
----------------------------------------
Hi,
why do this ?


irb(main):006:0> 15.1*100
=> 1510.0 -----> OK

irb(main):008:0> 671.12*100
=> 67112.0 -----> OK

irb(main):007:0> 67.1*100
=> 6709.999999999999 -----> KO ???????

What i wrong

Tks for the interesting




-- 
https://bugs.ruby-lang.org/

Unsubscribe: <mailto:ruby-core-request / ruby-lang.org?subject=unsubscribe>
<http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-core>