---
title: "Discussion on \"Why Money Calculations Should Not Use Floating Point\" | Hashnode"
description: "Discussion on \"Why Money Calculations Should Not Use Floating Point\". Binary floating point is useful for many problems, but risky as a canonical money representation. Learn why minor units and explicit rounding make VAT calculations more predictable."
url: "https://hashnode.com/posts/why-money-calculations-should-not-use-floating-point/6ac022665839edc4cee8aab5"
---

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

Discussion

# [Why Money Calculations Should Not Use Floating Point](https://vat-engine.hashnode.dev/why-money-calculations-should-not-use-floating-point?utm_source=hashnode&utm_medium=feed)

Binary floating point is useful for many problems, but risky as a canonical money representation. Learn why minor units and explicit rounding make VAT calculations more predictable.

Oct 2 · 14 min read · vat-engine.hashnode.dev  
Updated Oct 8  
Read the article

-   [#money](https://hashnode.com/tag/money)
-   [#floating-point-arithmetic](https://hashnode.com/tag/floating-point-arithmetic)
-   [#vat-api](https://hashnode.com/tag/vat-api)
-   [#api-design](https://hashnode.com/tag/api-design)
-   [#financial-software](https://hashnode.com/tag/financial-software)
-   [#eu-vat](https://hashnode.com/tag/eu-vat)
-   [#vat](https://hashnode.com/tag/vat)
-   [#api](https://hashnode.com/tag/api)
-   [#software](https://hashnode.com/tag/software)
-   [#software-development](https://hashnode.com/tag/software-development)
-   [#finance](https://hashnode.com/tag/finance)

## Written by

[Vasyl Kyryliuk](https://hashnode.com/@vasyl-kyryliuk)

@vasyl-kyryliuk · Cologne, Germany

  
[View profile](https://hashnode.com/@vasyl-kyryliuk)

Solo founder & software engineer building VAT Engine. Writing about APIs, SaaS, ecommerce, security, and EU VAT.

Software engineer and solo founder building VAT Engine. Writing about APIs, SaaS, ecommerce, security, and EU VAT infrastructure.

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
