You can check with regex if the string only consists of numerals or you can do the parse and catch the exception it will throw (see docs on error handling)
Hi Djeerej!
The parseDecimal function can receive a default value that will be returned if the value cannot be parsed maybe you can use it.
For more info: https://docs.mendix.com/refguide/parse-and-format-decimal-function-calls/#2-parsedecimal
You can first check the string value if it contains “.”(decimal) by find() or contain() string function according to your requirement, if yes then parse it else skip.
Refer-String Function Calls | Mendix Documentation
Other way what stephan already suggested- do the parse and catch the exception it will throw (see docs on error handling)