in reply to Checking whether a $var is a number
Use an eval - see the node on How to identify a number datatype in a string?