SQL> select to_char(to_date(1234567,'j'),'jsp') from dual;
TO_CHAR(TO_DATE(1234567,'J'),'JSP')
---------------------------------------------------------------------
one million two hundred thirty-four thousand five hundred sixty-seven
Explanation:
First convert desire number to julien type using to_date function..and then convert o/p into char type using to_char function..