Adding tablename as an argument.
Accommodate numeric values that start with a decimal.
Removing some redundant tests, adding a numeric starting with a decimal.