# Why 1-0.4 = 0.6 vs 1 - 1.4 = -0.399999999999

**URL:** <https://discourse.julialang.org/t/why-1-0-4-0-6-vs-1-1-4-0-399999999999/129148>\
**Category:** General Usage\
**Created:** [May 19, 2025, 2:36pm UTC](https://discourse.julialang.org/t/why-1-0-4-0-6-vs-1-1-4-0-399999999999/129148 "2025-05-19T14:36:22Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![giordano](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/giordano/32/2166_2.png) [@giordano](https://discourse.julialang.org/u/giordano)\
**Post date:** [May 19, 2025, 2:37pm UTC](https://discourse.julialang.org/t/why-1-0-4-0-6-vs-1-1-4-0-399999999999/129148/2 "2025-05-19T14:37:09Z")

</div>

> **[Floating Point Math](https://0.30000000000000004.com/)**

Also [PSA: floating-point arithmetic](https://discourse.julialang.org/t/psa-floating-point-arithmetic/8678)

---

_[View the full topic](https://discourse.julialang.org/t/why-1-0-4-0-6-vs-1-1-4-0-399999999999/129148)._
