Summary:
The author introduces the Money library in Kotlin to simplify monetary calculations, allocations, and rounding issues in coding. The library supports mathematical operations with monetary amounts, calculations with percentages, and allocation, making it easy to model various use cases. Unique features include automatic allocation to ensure no loss or gain of money, the ability to allocate in proportional parts, and customizable allocation strategies. The library supports 306 circulating currencies and 2283 cryptocurrencies out of the box. The author plans to expand its capabilities gradually and hopes it will be useful for developers working with monetary amounts in Kotlin projects. Give it a try by following the installation procedures provided in the README.
https://blog.eriksen.com.br/en/introducing-kotlin-money