Show HN: Cashe - A money library written in Ada https://ift.tt/no1NePd
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/jDZFAic [2] https://ift.tt/7E6TBHd [3] https://ift.tt/qmxgoW2... [4] https://ift.tt/BL4Uscg... [5] https://ift.tt/puy1SKs https://ift.tt/eFmiM6t August 23, 2023 at 09:51PM
Comments
Post a Comment