ads
Wednesday, August 23, 2023
Show HN: Cashe - A money library written in Ada https://ift.tt/74zQWRp
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/KEFzNrC [2] https://ift.tt/KuVNDR7 [3] https://ift.tt/C4RdPzw... [4] https://ift.tt/OSQTIwX... [5] https://ift.tt/hSLWmx0 https://ift.tt/w3VFie6 August 23, 2023 at 11:21PM
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment