Added class when user types and input is invalid.
Changed dec_sep and group_sep mechanism