Typically I would use a regex to validate a number, for a decimal number you could use ^[+-]?[0-9]+$ with Match Pattern to perform validation. In this case you could also verify that the remaining string is empty when you use Scan from String.
Sounds like scan from string universally works too, but I have code to convert to a number and back to a string. If they match, I consider it a valid numeric:
convert numeric string.vi