Closed Macorreag closed 1 year ago
Hi @Macorreag Each currency has its own exponent, on the basis of which calculations and formatting are carried out. https://github.com/elixirmoney/money/blob/master/lib/money/currency.ex#L64
If you need a currency with a different exponent, then you can declare a custom currency https://github.com/elixirmoney/money#custom-currencies
Thanks @Nitrino for the quick response.
I have checked the configuration of the Module and I cannot find a parameter that allows me to set a precision in the Module
This returns me :
"$9.999,99"
It is possible to set it to take a precision of 3 decimal places and the result is something like.
"$9.99,999"