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

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/P0dbwqD [2] https://ift.tt/Wiud81C [3] https://ift.tt/AdLEh2T... [4] https://ift.tt/JR78pOv... [5] https://ift.tt/zDFKitY https://ift.tt/8OT0S6Z August 23, 2023 at 06:21AM

No comments:

Show HN: Free tool to mark points and polygon regions https://ift.tt/hkv5DIa

Show HN: Free tool to mark points and polygon regions For a game I'm developing I needed an easy way to create hotspot areas on images. ...