how can I verify if the string field is only take numeric caracteres ?


can i verify if the string field take only numeric caracteres ?

thank you

This is easy. Look at Classes\TaxVATNumValidate\isNumeric to see an example of this.

I just remembered, the easiest way is to use Global::isInteger()

info(strfmt("%1", isInteger(“Test123”));

info(strfmt("%1", isInteger(“123456”));

hi i found this fonction "match[“a-z”,object or variable ]

Did you see my solution(s)?


Superb Alex. This helped me out. I added a decimal point(.) to the string with numbers to check for real numbers as well. Also checked the count for the points :wink: