This commit is contained in:
swrup 2025-11-16 15:30:32 +01:00
parent 4f0c1cd625
commit 7c0816d949

View file

@ -1,8 +1,7 @@
(* TODO (* TODO
have safe amount arithmetic have safe amount arithmetic
make type private make type private
use config currency option: use config currency option *)
-> functorize or dune virtual-module *)
(* Amounts of currency, serialized as `<Currency>:<IntegerPart>.<FractionalPart>` (* Amounts of currency, serialized as `<Currency>:<IntegerPart>.<FractionalPart>`
Fixed-precision numbers with 8 decimal places. Fixed-precision numbers with 8 decimal places.
- <Currency> must be at most 11 characters long - <Currency> must be at most 11 characters long