Setting an increment value or initial value as a decimal allows the use of decimals in an editable spinner.
If the incr =1 and initial value = 0 a NumberFormatException error is thrown if a decimal is entered.
This is not the case if the value is changed programatically, it is truncated.
It would be useful to be able to set the initial Value to 0.00, to allow decimal values. Currently this is truncated by the IDE to 0, and no decimals can be manually entered.
Example attached.
If the incr =1 and initial value = 0 a NumberFormatException error is thrown if a decimal is entered.
This is not the case if the value is changed programatically, it is truncated.
It would be useful to be able to set the initial Value to 0.00, to allow decimal values. Currently this is truncated by the IDE to 0, and no decimals can be manually entered.
Example attached.