---
title: "Discussion on \"Exploring Floating-Point Precision: Why 9.21 + 1.66 Equals 10.870000000000001\" | Hashnode"
description: "Discussion on \"Exploring Floating-Point Precision: Why 9.21 + 1.66 Equals 10.870000000000001\". When working with programming languages, you may have encountered puzzling results in floating-point arithmetic. A classic example is the seemingly simple addition:\nconsole.log(9.21 + 1.66); // Output: 10.870000000000001\n\nAt first glance, this might ..."
url: "https://hashnode.com/posts/exploring-floating-point-precision/67d3e97e9dd99afb336524a7"
---

[Feed](https://hashnode.com/feed) /

Discussion

[Aryan Chaurasia](https://hashnode.com/@thehungrybird)

Head Tech, House of EdTech

Mar 14, 2025

# [Exploring Floating-Point Precision: Why 9.21 + 1.66 Equals 10.870000000000001](https://code.aryn.tech/exploring-floating-point-precision?utm_source=hashnode&utm_medium=feed)

When working with programming languages, you may have encountered puzzling results in floating-point arithmetic. A classic example is the seemingly simple addition: console.log(9.21 + 1.66); // Output: 10.870000000000001 At first glance, this might ...

code.aryn.tech 3 min read

[#code](https://hashnode.com/tag/code) [#mathematics](https://hashnode.com/tag/mathematics) [#floating-point-arithmetic](https://hashnode.com/tag/floating-point-arithmetic) [#javascript](https://hashnode.com/tag/javascript) [#python](https://hashnode.com/tag/python) [#binary](https://hashnode.com/tag/binary)

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
