<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/it-s-ok-to-use-floating-point-for-money-vsritczxh" -->

---
title: It's OK To Use Floating Point for Money | daily.dev
description: A short prose poem that playfully addresses the well-known programming advice against using floating-point arithmetic for monetary values. Written in verse, it...
canonical: https://daily.dev/posts/it-s-ok-to-use-floating-point-for-money-vsritczxh
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: It's OK To Use Floating Point for Money | daily.dev
og:description: A short prose poem that playfully addresses the well-known programming advice against using floating-point arithmetic for monetary values. Written in verse, it...
og:url: https://daily.dev/posts/it-s-ok-to-use-floating-point-for-money-vsritczxh
og:image: https://api.daily.dev/og/posts/vSrITCzXH.png
og:image:alt: It's OK To Use Floating Point for Money
og:image:width: 1200
og:image:height: 630
og:locale: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# It's OK To Use Floating Point for Money

**[Lobsters](https://daily.dev/sources/lobsters)** · 1 min read · 0 upvotes · 0 comments

## Summary

A short prose poem that playfully addresses the well-known programming advice against using floating-point arithmetic for monetary values. Written in verse, it anthropomorphizes a forgiving financial system that absorbs rounding errors and reconciliation issues, offering a humorous and artistic take on a classic developer cautionary tale.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://suricrasia.online/blog/its-ok-to-use>

## Similar posts on daily.dev

- [Why You Should Never Use Floating Point for Money](https://daily.dev/posts/why-you-should-never-use-floating-point-for-money-mf4k3pznd) · Sergio Lema · 17 upvotes · 6 comments
- [Why Ruby’s Issue Tracker Still Links to a 1991 Paper About Floating-Point Numbers](https://daily.dev/posts/why-ruby-s-issue-tracker-still-links-to-a-1991-paper-about-floating-point-numbers-vijgzx189) · RUBYLAND · 1 upvotes · 1 comments
- [Why JavaScript Floating Point Math Breaks Your App \(And How to Fix It\)](https://daily.dev/posts/why-javascript-floating-point-math-breaks-your-app-and-how-to-fix-it--0nl3mfyyi) · Sergio Lema · 1 upvotes · 0 comments
- [Floating point can’t hold a cent. BigDecimal can, until commonMain.](https://daily.dev/posts/floating-point-can-t-hold-a-cent-bigdecimal-can-until-commonmain--i5juqbqsc) · ProAndroidDev · 11 upvotes · 1 comments

---

[View this post on daily.dev](https://daily.dev/posts/it-s-ok-to-use-floating-point-for-money-vsritczxh)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@type":"TechArticle","headline":"It's OK To Use Floating Point for Money","url":"https://daily.dev/posts/it-s-ok-to-use-floating-point-for-money-vsritczxh","mainEntityOfPage":{"@type":"WebPage","@id":"https://daily.dev/posts/it-s-ok-to-use-floating-point-for-money-vsritczxh"},"datePublished":"2026-04-26T13:11:42.944Z","dateModified":"2026-04-26T13:12:02.205Z","description":"A short prose poem that playfully addresses the well-known programming advice against using floating-point arithmetic for monetary values. Written in verse, it...","image":"https://media.daily.dev/image/upload/s--1KxV4ohY--/f_auto/v1722860400/public/Placeholder%2007","thumbnailUrl":"https://media.daily.dev/image/upload/s--1KxV4ohY--/f_auto/v1722860400/public/Placeholder%2007","isAccessibleForFree":true,"articleSection":"Lobsters","inLanguage":"en","publisher":{"@type":"Organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180}},"author":{"@type":"Organization","name":"Lobsters","logo":"https://media.daily.dev/image/upload/s--tl8v_Fku--/f_auto,t_logo/v1698841318/logos/lobste.jpg","url":"https://daily.dev/sources/lobsters"},"commentCount":0,"discussionUrl":"https://daily.dev/posts/it-s-ok-to-use-floating-point-for-money-vsritczxh","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":0},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":0}],"keywords":"","timeRequired":"PT1M"}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"Lobsters","item":"https://daily.dev/sources/lobsters"},{"@type":"ListItem","position":3,"name":"It's OK To Use Floating Point for Money"}]}
```

