nowfound

Dev tools · October 8, 2024

Kotlin Money

Manipulating monetary amounts is a common computing chore. However, no mainstream language has a first-class data type for representing money, it’s up to programmers to code abstractions for it. This isn’t an issue per se until dealing with rounding issues from operations like installment payments (e.g., buy now, pay later), foreign exchange, or even simple things like fee processing and tax collection. Inspired by my days at N26 Brasil dealing with these challenges, I introduce Money: a Kotlin library that makes monetary calculations and allocations easy.

Kotlin Money launched on October 8, 2024 with 427 votes, #71 of 5,185 launches that month and more than 99% of that year's launches. The site was still online in September 2026, 2 years on.

In plain words

Kotlin Money is a library for the Kotlin programming language that handles monetary calculations and allocations. It provides a data type for representing money and addresses common rounding problems that arise in financial operations like installment payments, currency exchange, tax collection, and fee processing. The library simplifies tasks that developers typically must code themselves in mainstream languages lacking native money types.

written from the facts on this page · September 2026

From the sources

Manipulating monetary amounts is a common computing chore. However, no mainstream language has a first-class data type for representing money, it’s up to pro...

Does a similar job

all alternatives →
  • AA
    An API to store balances and transactions2020 · ▲151

    Hey everyone! I'm Rob and I want to share what I've built - a solid ledger behind simple API: https://decimals.app The ledger is a key piece of any financial system and is easy to get the design wrong, resulting in troubles for making sure money movements are adding up. I took a lot of inspiration from good designs from Square, Uber, and others for the scalability and security aspects. And on the usability side, I applied many concepts from the Ledger CLI, making it very easy to use. I'm really happy I get to show this to you all, thank you for reading about it! Please let me know…

  • I finished v5 of a JVM framework I've spent spent half a decade making2022 · javalin.io · ▲377

    ForewordJavalin is a Java and Kotlin web framework which focuses on simplicity and Java/Kotlin interoperability.It supports WebSockets and HTTP3, and it uses...

  • Haskell library for pricing and information on crypto-currencies2017 · github.com · ▲86

    Haskell wrapper for the CryptoCompare API - No longer maintained, ping me if you'd like to take over - aviaviavi/cryptocompare

  • KB
  • Koins2017 · apps.apple.com · ▲83

    A currency converter designed for one-handed use

  • Convertable2018 · ▲76

    Currency calculator with on-the-fly conversion

More dev tools this month

the category →
  • /dev/null▲482

    a social network for devs

    Dev tools · 2d ago · dev-null.sh

  • open-source IDE for thoughtful software design. Contribute to devdotfast/whiteboard development by creating an account on GitHub.

    Dev tools · 27d ago · github.com

  • Contribute to reladraw/reladraw development by creating an account on GitHub.

    Dev tools · 25d ago · github.com

  • OpenBot▲362

    Grok Bot alternative: free, local, open-source, multiplayer

    Dev tools · 22d ago · openbot.run

  • Talanoa▲343

    Hi HN, I’m a fullstack developer, and honestly, I’ve lost count of how many side projects I’ve worked on over the years. But one idea kept coming back to me: a different kind of email client. It first came to me in 2014: “What if we could handle emails more like conversations?” Every year, I’d revisit this concept in my “Build Notes.” Ten years later, no one had built exactly what I had in mind — so I finally decided to do it myself. That’s how Talanoa was born. I wanted something focused on people, not timelines. I was tired of marking messages as unread just to remember to reply later, or…

    Dev tools · 20d ago · talanoa.email

  • CoreSpeed▲332

    One MCP for everything your agents need: apps, memory, tools

    Dev tools · 28d ago · corespeed.io

Source: Show HN post ↗

Launched alongside, October 2024

the whole month →
  • buzzabout▲1,267

    Audience insights from 1B+ online discussions in 2 mins

    AI · 2024 · buzzabout.ai

  • bolt.new▲1,230

    Build and scale high-performing websites & apps using your words. Join millions and start building today.

    AI · 2024 · bolt.new

  • Feta▲1,217

    Run smarter stand-ups, build better products

    AI · 2024 · feta.io

  • Trag▲955

    AI code review companion

    AI · 2024 · usetrag.com

  • Turn Notion databases into portals & apps with no code

    Dev tools · 2024 · softr.io

  • One inbox for all your work discussions

    Work · 2024 · generalcollaboration.com