As this validation message for non-numeric values in a numeric field is shown by default by mendix so you could add some custom styling on your element and hide the validation message for non-numeric values.
The class name is .mx-validation-message
Also, you can do the validation for non numeric values in a microflow and then show the message in a popup instead of a validation feedback.