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/tZxCVAG [2] https://ift.tt/i7YPkcC [3] https://ift.tt/IdrEh7K... [4] https://ift.tt/MRyEbGx... [5] https://ift.tt/eh72xwO https://ift.tt/4ughHsA August 23, 2023 at 10:21PM
0 Comments