converting the number to string [message #485171] |
Mon, 06 December 2010 10:51 |
Amar_bu
Messages: 32 Registered: July 2010 Location: riyadh
|
Member |
|
|
Hi
I wanna convert the amount of money from number to string such as 144.5 to be one hundred fourty four point five is there any function or i have to write my function?
how could i put new line in the string?
for example if i have 'SAB Bank' || 'Riyadh'
but i want SAB bank to be displayed in line and riyadh in line. could i achive that ?
thanks
|
|
|
|
Re: converting the number to string [message #485174 is a reply to message #485171] |
Mon, 06 December 2010 11:09 |
cookiemonster
Messages: 13963 Registered: September 2008 Location: Rainy Manchester
|
Senior Member |
|
|
1) Search this site for 'spell number' or 'amount in words'
2)
SQL> select 'SAB Bank' || chr(10)|| 'Riyadh' from dual;
'SABBANK'||CHR(
---------------
SAB Bank
Riyadh
However since you're using reports you'll almost certainly find it easier to work with two seperate fields.
|
|
|