Validates a number value. Returns the number if valid, otherwise returns the provided defaultValue or 0. Optionally parses numeric strings.
Validates a number value. Returns the number if valid, otherwise returns the provided defaultValue or 0. Optionally parses numeric strings.