---
title: "Discussion on \"Why 0.1 + 0.2 != 0.3 in JavaScript (And How to Fix It)\" | Hashnode"
description: "Discussion on \"Why 0.1 + 0.2 != 0.3 in JavaScript (And How to Fix It)\". The IEEE 754 Standard\nIEEE 754 is a standard for representing floating point numbers in computers. It is widely used in programming languages, including JavaScript, to represent decimal values with a finite precision.\nOne disadvantage with using floa..."
url: "https://hashnode.com/posts/why-01-02-03-in-javascript-and-how-to-fix-it/63b721703ecdbcc74cbd9f3e"
---

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

Discussion

# [Why 0.1 + 0.2 != 0.3 in JavaScript (And How to Fix It)](https://blog.luismarques.io/why-01-02-03-in-javascript-and-how-to-fix-it?utm_source=hashnode&utm_medium=feed)

The IEEE 754 Standard IEEE 754 is a standard for representing floating point numbers in computers. It is widely used in programming languages, including JavaScript, to represent decimal values with a finite precision. One disadvantage with using floa...

Jan 3, 2023 · 2 min read · blog.luismarques.io  
Updated Jan 7, 2023  
Read the article

-   [#javascript](https://hashnode.com/tag/javascript)
-   [#ieee-754](https://hashnode.com/tag/ieee-754)

## Written by

[Luís Marques](https://hashnode.com/@luismarques)

@luismarques · Portugal

  
[View profile](https://hashnode.com/@luismarques)

I'm a software architect and developer specialising in building and designing exceptional digital experiences

I'm a software architect and developer specializing in building and designing exceptional digital experiences for over 10 years. Coordinated efforts in teams of individuals with complementary expertise, at fast pace and self-starter environments, from startups to a Fortune 500 company. www.luismarques.io

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
