{{userinfoForm.controls?.dataType?.errors?.numeric.message}}
you can enter only a negative number
{{userinfoForm.controls?.negativeNumber?.errors?.numeric.message}}
you can enter only a positive decimal number
{{userinfoForm.controls?.decimalNumber?.errors?.numeric.message}}
If you want to apply conditional validation on 'Real Number' then you need to add 'Data Type' input as 'Real'.
Conditional Expression with type 'string'
{{userinfoForm.controls?.realNumber?.errors?.numeric.message}}
you can enter only a positive number
Shows custom message.
{{userinfoForm.controls?.positiveNumber?.errors?.numeric.message}}