Changes to NumericBox class (former TextBox)