Issue #9691 has been updated by Shyouhei Urabe.

Status changed from Open to Rejected

This is how it works.  Learn floating point numbers.

"What Every Computer Scientist Should Know About Floating-Point Arithmetic"
http://docs.sun.com/source/806-3568/ncg_goldberg.html

----------------------------------------
Bug #9691: Wrong value on float
https://bugs.ruby-lang.org/issues/9691#change-46032

* Author: Mattias Bodlund
* Status: Rejected
* Priority: Normal
* Assignee: 
* Category: 
* Target version: 
* ruby -v: 2.1.0
* Backport: 2.0.0: UNKNOWN, 2.1: UNKNOWN
----------------------------------------
Getting strange value on multiplying a float

 149.95 * 100
 => 14994.999999999998



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