Show HN: Cashe - A money library written in Ada https://ift.tt/qQO7MEH

Show HN: Cashe - A money library written in Ada Introducing Cashe: a Money library written in Ada 2022! The purpose of Cashe is to give Money its own high-precision datatype taking advantage of Ada's fixed type decimal system[1]. 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[2] as well as Custom-defined currencies[3], and even a working Currency Exchange[4]. You can install it using Alire, which is Ada's package manager with a simple `alr with cashe` There's quite a bit of examples in the readme if you would like to see what the code looks like, but I also gave full code examples for almost all of the functions in the API Documentation[5]. [1] https://ift.tt/SlPkMHe [2] https://ift.tt/Gkc8HZn [3] https://ift.tt/e9q7Sn3... [4] https://ift.tt/mkhvRzs... [5] https://ift.tt/uNbKmaP https://ift.tt/NJm6MOS August 23, 2023 at 11:21PM

Komentar

Postingan populer dari blog ini

Show HN: Interactive exercises for GNU grep, sed and awk https://ift.tt/OxeFwah

Show HN: Create demos & guides just with a simple prompt https://ift.tt/HfWo3mz