I have came through a query in SQL which will convert number we enter to word format The Query is
select to_char(to_date(&num,'J'),'JSP') from dual;
TO_CHAR(TO_DATE(678,'J'),'JSP')
-------------------------------
SIX HUNDRED SEVENTY-EIGHT
Normally the Julian Date Format gives the number of days added to the Julian date i.e 31-DEC-4712
I am unable to understand how does it convert every number into words.
Help me in understanding what it does actually ...