views:

20

answers:

0

The problem i have is when the formatter gets the string "-" or empty it fails to accept it. This makes entering a negative number a little bit uncomfortable. It also requires me to leave at least one digit in the field, which is also far from comfortable.

Is there any way how a formatter would accept this as 0.

My formatter works in NSNumberFormatterDecimalStyle mode.