Validate method of numeric types will convert strings when valid