properly enable/disable the minus button for decimal