DDF-543 Check for null and check whether a string is a valid number