Hi Mark,
You can provide a default value for when the parse fails:
parseDecimal('3.45') returns 3.45
parseDecimal('text', 5.05) returns 5.05
parseDecimal('text', empty) returns empty
More about parseDecimal: https://docs.mendix.com/refguide/parse-and-format-decimal-function-calls
Hope this helps.
Cheers, Jeffrey
Just adding my bit on the difference between parseDecimal() in Nanoflows and Microflows:
In Nanoflows you can only get 8 decimal precision, while in Microflows, you can get 9. This makes a difference, e.g. when parsing geolocation/lat or longitude.
Best regards, Wouter