In TO_NUMBER, set EMPTY_BYTE_ARRAY and return true if input does not match pattern.  Add external documentation for TO_NUMBER.