---
title: "#floating-point articles | Hashnode"
description: "Explore 2 articles tagged #floating-point on Hashnode. Tutorials, guides, and how-tos from the community."
url: "https://hashnode.com/tag/floating-point"
---

Tag

# #floating-point

2 posts · 0 followers

[Min SiThu](https://hashnode.com/@itsmeminsithu) · [Nov 22](https://hashnode.com/posts/why-does-0-1-0-2-not-equal-0-3-the-floating-point-surprise-every-beginner-meets/6b0246091b06d668e4d52cda)

### [Why Does 0.1 + 0.2 Not Equal 0.3? The Floating-Point Surprise Every Beginner Meets](https://itsmeminsithu.hashnode.dev/why-does-0-1-0-2-not-equal-0-3-the-floating-point-surprise-every-beginner-meets?utm_source=hashnode&utm_medium=feed)

To put it simply, 0.1 + 0.2 does not equal 0.3 on a computer because computers store decimal numbers in binary, and 0.1 cannot be written exactly in binary. It is not a bug in your code. It is not a b

7 min read · [itsmeminsithu.hashnode.dev](https://itsmeminsithu.hashnode.dev/why-does-0-1-0-2-not-equal-0-3-the-floating-point-surprise-every-beginner-meets?utm_source=hashnode&utm_medium=feed)
