4 ms·
Banks typically use a fixed floating point of 1 integer step = 1/100 cent. Is this value configurable in your library?
by mplewis 2y ago
Banks typically use a fixed floating point of 1 integer step = 1/100 cent. Is this value configurable in your library?
- pasc1878 2y agoI doubt Japanese ones do.
- jpollock 2y agoYes, because partial units still have meaning when dealing with interest and taxation.
- eriksencosta 2y agoYep, it is. However, you must create a custom currency to arbitrarily define the minor units you need: https://github.com/eriksencosta/money/blob/trunk/docs/usage/money-currencies.md#custom-currencies https://github.com/eriksencosta/money/blob/trunk/docs/usage/...