Open OiTAvO opened 2 years ago
If "5.0e3" is an invalid string, shouldn't it return :error?
iex(1)> Money.parse("5.0e3") {:ok, %Money{amount: 503, currency: :BRL}}
or
If "5.0e3" is a valid string, shouldn't the return be: {:ok, %Money{amount: 500000, currency: :BRL}}
{:ok, %Money{amount: 500000, currency: :BRL}}
I reopened this issue because this feature was moved to v2.0 due to breaking changes
If "5.0e3" is an invalid string, shouldn't it return :error?
or
If "5.0e3" is a valid string, shouldn't the return be:
{:ok, %Money{amount: 500000, currency: :BRL}}