-2
I’m building an app in Android Studio that gets a value inserted in a edittext
, passes him on to BigDecimal
and performs some operations.
In the field to enter this value, I marked android:inputType="numberDecimal"
, however, the keyboard is not inserting "." or "," in any way, and this prevents me from receiving the pennies of that amount.
What I really needed was a field with mask that by default displayed R$ 0.00 and the person only entered the numbers, but if I can simply receive the separator between whole value and cents would already serve me.
You could post your code?
– anderson seibert