Project

General

Profile

Actions

Bug #16938

closed

Multiplying 100 to 36.98, gives an inaccurate result (3697.9999999999995)

Added by [email protected] (bibin venugopal) almost 5 years ago. Updated almost 5 years ago.

Status:
Rejected
Assignee:
-
Target version:
-
[ruby-core:98671]

Description

Multiplying 100 to 36.98, gives an inaccurate result.
I have tried this in ruby console in my Ubuntu machine
Ruby Version 2.3.7
Ubuntu Version Ubuntu 18.04.4 LTS


Files

ruby_multiplication.gif (13.3 KB) ruby_multiplication.gif [email protected] (bibin venugopal), 06/08/2020 07:50 AM
Actions #1

Updated by [email protected] (bibin venugopal) almost 5 years ago

  • Subject changed from Multiplying 100 to 36.98, gives an inaccurate to Multiplying 100 to 36.98, gives an inaccurate (3697.9999999999995)
Actions #2

Updated by [email protected] (bibin venugopal) almost 5 years ago

  • Subject changed from Multiplying 100 to 36.98, gives an inaccurate (3697.9999999999995) to Multiplying 100 to 36.98, gives an inaccurate result (3697.9999999999995)

Updated by shyouhei (Shyouhei Urabe) almost 5 years ago

  • Status changed from Open to Rejected

Please visit https://bugs.ruby-lang.org/ and read the FAQ part.
Next time consider doing so before posting an issue.

Actions

Also available in: Atom PDF

Like0
Like0Like0Like0