Actions
Bug #12065
closedproblem with multiplication 2 numbers
Status:
Rejected
Assignee:
-
Target version:
-
ruby -v:
ruby 2.3.0p0 (2015-12-25 revision 53290) [x86_64-linux]
Description
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
Updated by shyouhei (Shyouhei Urabe) almost 9 years ago
This is a FAQ. Read the FAQ section here https://bugs.ruby-lang.org/
Updated by hsbt (Hiroshi SHIBATA) almost 9 years ago
- Status changed from Open to Rejected
Actions
Like0
Like0Like0