Issue on format with CurrencyTextInputFormatter
atsen-dev opened this issue · 2 comments
atsen-dev commented
atsen-dev commented
The issue come from this part of the plugin (line 95) :
EDIT :
As you can see input is 131 but after line 95, _newNum is 1.31
The only workaround I found is to format every value with thr right precision like this :
I thinks It would be great If we can improve that to be able to set a double value without the need of the workaround
pedrolemoz commented
I had the same issue as you. Instead of using .format
method, use .formatDouble
.