Cashe: A Money library for Ada
Introducing Cashe: a Money library written in Ada!
There's quite a bit of examples in the readme, but I also gave full code examples for almost all of the functions in the API Documentation.
The purpose of Cashe is to give Money its own high-precision datatype taking advantage of Ada's fixed type decimal system. This allows storing money, associated with a currency, at a defined precision with the choice of utilizing fuzzy or exact equality (see readme for more details).
It supports ISO Currencies as well as Custom-defined currencies, and even a working Currency Exchange.
While this is technically in pre-release, it's passing all of my unit tests and I'm working on getting the version 1.0 out and into Alire soon.
[link] [comments]