Added decimal input validator to Validator class