Made these changes for integer directive
Added class when user types and input is invalid.
Changed dec_sep and group_sep mechanism