implementing mutiple values validation, maximum number of values validation and precision validation(for Float)