In TO_NUMBER, small tweaks to ToNumberFunction.evaluate()