• Courses
  • Code Compiler
  • Discuss
  • Pricing
  • Teams
Menu
+ 1

Floating point in python

In math: 0.1 + 0.2 = 0.3 In python: 0.1 + 0.2 == 0.3 -> False Why?!!

python
30th Apr 2019, 11:47 AM
Ameer Abdulaziz
Ameer Abdulaziz - avatar
1 Answer
+ 5
Please use search bar before asking. https://www.sololearn.com/discuss/1392436/?ref=app https://www.sololearn.com/discuss/1341591/?ref=appa https://www.sololearn.com/discuss/1033323/?ref=app https://www.sololearn.com/discuss/1344720/?ref=app https://www.sololearn.com/discuss/1477626/?ref=app https://www.sololearn.com/discuss/1733175/?ref=app https://www.sololearn.com/discuss/1524665/?ref=app https://www.sololearn.com/discuss/1288636/?ref=app https://www.sololearn.com/discuss/374762/?ref=app https://www.sololearn.com/discuss/504630/?ref=app https://www.sololearn.com/discuss/1156419/?ref=app https://www.sololearn.com/discuss/1093191/?ref=app https://www.sololearn.com/discuss/174005/?ref=app https://www.sololearn.com/discuss/711763/?ref=app https://www.sololearn.com/discuss/1034097/?ref=app https://www.sololearn.com/discuss/860019/?ref=app https://www.sololearn.com/discuss/72830/?ref=app
30th Apr 2019, 11:49 AM
Maneren
Maneren - avatar

Often have questions like this?

Learn more efficiently, for free:

  • Introduction to Python

    7.1M learners

  • Introduction to Java

    4.7M learners

  • Introduction to C

    1.5M learners

  • Introduction to HTML

    7.5M learners

See all courses
Hot today
How do we code calculator
2 Votes
What programming language should i learn to make applications or games?
0 Votes
How to add comment in python?
2 Votes
I need help
1 Votes
My hearts are disappering :(
0 Votes
How to learn python fast than usual in sololearn?
0 Votes
What can html, css and javascript do
0 Votes
Pressure and tension
2 Votes
How to make a selection on a calculator in Python
0 Votes
ConducciĂłn de calor o Q=−kAdTdxQ = -k A \frac{dT}{dx}Q=−kAdxdT o Pared 2 mÂČ, espesor 0.1 m, k = 50 W/m°C, ΔT = 30°C → Q ≈ 30,0
0 Votes