How to spell currency from number to words
how to spell currency from number to words?
Is there a built in function in oracle?
Can anybody give me the code?
thanks
sharath
ok, rewritten to work with nulls and numbers from -5373484.99$ to +5373484.99$
SQL> set null "<NULL>"
SQL> select
to_char(comm, '$999999.99'),
decode(comm, null, null,
decode(sign(trunc(comm)),
0, to_char(to_date(to_char(trunc(comm)),'SSSSS'),'ssssssp'),
1, to_char(to_date('1','J')+(trunc(comm)-1),'jsp'),
-1, 'minus '||to_char(to_date('1','J')+(trunc(comm)-1),'jsp')
) || ' dollars and '||
to_char(to_date(to_char(mod(comm,1)*100),'SSSSS'),'ssssssp')||
' cents'
from emp;
TO_CHAR(COM DECODE(COMM,NULL,NULL,DECODE(SIGN(TRUNC(COMM)),0,TO_CHAR(TO_DATE(TO_CHAR(TRUNC(COMM)),'SSSSS'),'SSSSSSP'),1,TO_CHAR(TO_DATE('1','J')+(TRUNC(COMM)-1),'JSP
<NULL> <NULL>
$300.00 three hundred dollars and zero cents
$500.00 five hundred dollars and zero cents
<NULL> <NULL>
$1400.00 one thousand four hundred dollars and zero cents
<NULL> <NULL>
<NULL> <NULL>
<NULL> <NULL>
<NULL> <NULL>
$.00 zero dollars and zero cents
<NULL> <NULL>
<NULL> <NULL>
<NULL> <NULL>
<NULL> <NULL>
Similar Messages
-
How to duplex print from a MS Word document in HP 1020 Plus printer
Two days before I have acquired a HP 1020 Plus Laserjet printer . How to duplex print from a MS Word document and Corel Draw document in HP 1020 Plus printer? I tried manual duplex printing by printing the odd pages first and then even pages ....it came out correct ,...but whenit comes to Page numbers continuity it is not properly printed ....why?? Can anyone highlight on this and give me a step by step instructuion to print Duplex and thereby help me to create 20-----------page or 30 page booklets.....from MS word typed document or corel draw document......Expecting a speedy solution
thanks & regards,
K Narayanan
This question was solved.
View Solution.@immo22269
The laserjet 1020 only has manual duplexing capabilities. Please refer to this document for a complete set of instructions.
Print on both sides of the paper (manual duplexing)
I am an HP employee.
Say Thanks by clicking the Kudos Star in the post that helped you.
Please mark the post that solves your problem as Accepted Solution -
How do I convert from PDF to Word step by step instructions needed..am practically computer illiterate@
Ok, fine. That isn't Acrobat, and that's why our instructions weren't much use. (But it's worth saying "I didn't have that option" rather than "it's not converting", we could end up wasting a lot of your time with the wrong stuff!)
Anyway, the free Adobe Reader can't do this conversion without a subscription called either ExportPDF or PDF Pack. You may have had one in the past. Are you still paying for one? -
How to create "convert from PDF to Word?"
How to create "convert from PDF to Word?"
Good day,
To use the ExportPDF service, simply visit http://exportpdf.acrobat.com and click 'Sign in' at the top right corner. Enter your Adobe ID (email address) credentials to log into the service. As ExportPDF is web-based, you simply utilize the tool through your web browser. After you're logged in, you should see the ExportPDF interface, with a button saying 'Select PDF file..' to get the process started.
Please let us know if you have any questions.
Kind regards,
David -
How i can count the number of words in a string?
hi, i want to know how to count the number of words in a string
e.g. java is a very powerful computer language.
i will get 7 words.
thanks in advance..Jverd, this has actually been answered, but due to an
attack of goldie-itis, all the answers were hosed.
The OP did get an answer, though.Yeah, I know. I just didn't know if he saw the answer before it went away. -
How to move pictures from iphoto to word
how to move pictures from iphoto to word
how to move pictures from iphoto to word
Word cannot store pictures - do you mean, how to use the photos in your iPhoto Library in Word documents?
Use the Media Browser in Word - when you select to insert a photo, you can open the Media Browser like this and browse your photo libraries - iPhoto, Aperture, ...
Sorry, my office applications have a german language interface, but the icons should be the same.
Regards
Léonie -
when I try to convert from pdf to word, a box opens and suggests I am to click on (select) the file I want to convert. It sounds all well but it does not work. I really really just want my files back in word, all of them, no matter, because after having to reinstall windows 7 (done by techs) and me having to re-download all my HP drivers, and tools, and other software, which I imagine included adobe reader, now I see some pdf files won't open. It says, "access denied" and boy that really makes me wantt o scream. I am the ONLY user, it is my notebook, I am the administrator so I can't figure out why some files open and some don't. I can't ascertain any difference.
I would be grateful for any help. This has become just too exhausting. After reinstalling sooooooooo much, then to have to go through this with what is a free application? I say I think not.
This should NEVER happen with any free application and boy there is NO help to be found. They blow you off the phone fast telling you it's a free application. Then why are you putting in this kind of stuff that it won't open? This is NOT a shared notebook, it's mine. I am the only user, personal use.
HP probook, if anyone needs that info.
Please, will someone help?
I would be so grateful.
thanks,
GinaGee, Pat, this is a real big help.
Nobody could possibly think anyone would ask for help without first trying to fix the issue oneself. Or maybe you do. I have opened the file and looked under security. I have changed it to owner-notebook (which is what the techs called me) and clicked accept but geepers it didn't work.
Maybe someone else has an idea.
Take Ownership of a File or Folder
The above should be a link. At least I copied and pasted the link. I did what was stated in there. It isn't like brain surgery. But it is not working. I ended up being able to open some pdf files after transferring them from one partition category to another. I wish it was that easy as you seem to think.
Thanks for the help. Have a great year. -
How to retain spacing from PDF to Word.
Hi all,
Working on a very important project that will involve copying a lot of text excerpts from PDF to .doc files; however, when I try to do this,
the text's spacing is completely lost. From what I've read elsewhere, this is a very common problem...does anybody know how to fix it?
I simply do not have to time to type out all of the text I need (hundreds of pages) by hand...
Thanks so much!Hey, first you can try another free pdf reader for mac, like Calibre, to see if the copy and paste problem still remains. The fact is that if you want to preserve the format of a pdf file, copy and paste is not the best way. And manually doing that will take you a lot of efforts. You can try a pdf to word converter for mac. The converter can preserve text, layout and other elements in an editable word document. Sure you don't have to type out all the things, as the software does all the work.
-
How do I display the number of words I've written in the new Pages update?
I just downloaded Mavericks and updated pages and I can't figure out how to display the amount of words I have written. It used to automatically be at the bottom of the page.
Toolbar > View > Word Count
Peter -
How to remove commas from number in Bex analyzer
Hello gurus,
I am having a requirement where i need to show the number without separating with commas. for example 23,34,780 as 2334780 in the report for a particular column only. I know that it is possible using the macros but i am unaware of the VB code.
I have created the same using the BEX Analyzer of BI 7 by creating the workbook and maintaining the properties for that columns. But right now i am working in BW 3.5 when i tried the same in this i am getting the run time error and disconnecting from the SAP.
So now i have decided to go with the Macros pls help me with the VB code.
RegardsThanks for ur reponse Danny.
I have edited the macro and paste the below code changing the column number.
Sub Macro3()
' Macro3 Macro
Application.Goto Reference:="Macro3"
Columns("R:R").Select
Selection.NumberFormat = "#############"
End sub.
But its not working, still i am getting the commas in between the key figure. kindly let me know if i need make any other change bcoz i havent work on macros VB code earlier.
Regards
Edited by: KK on Jun 16, 2009 2:17 AM -
How do i convert from pdf to word
how do i convert my pdf doc to word
Hi,
Please check the below mentioned article(Getting started with export PDF)
http://forums.adobe.com/docs/DOC-2412
~Pranav -
How to get last page number in word report? LV
I'm trying to find out where am I when I use LV to generate word report. I would like automatic generate page index in front of report.
Thanks in advanceEd,
Are you using DIAdem with labview to generate your report in LabVIEW? If so can you please explain your setup a little more. If you aren't using DIAdem you may find more labVIEW users if you post on the LabVIEW forums: http://forums.ni.com/ni/board?board.id=170 . Either way let me know.
Richard S -- National Instruments --Applications Engineer -- Data Acquisition with TestStand -
How do I export from PDF to Word when PDF has both portrait and landscape pages in it?
Most of the pdf is in portrait but a few are in landscape in the middle of the document and it totally screws up the rest of the document. Help! AND the portrait page size is 8.27 x 11/69.
Looks like you have A4 pages. I would copy the PDF and then rotate the landscape pages (or portrait) individually (use the tools, not the view rotation) and then do the save to DOC or DOCX. That might do what you want. I would have expected it to notice the orientation, but I guess not. You did not mention the version of Acrobat. If you have not done the updates, you may want to do those first. Your issue may have been address with the updates.
-
How to read particular number or word from lengthy serial data
Serially getting lengthy data...how to get particular number or word from Tht
Omi_30 wrote:
I am getting continusly 3 measured voltages,currentso,powers over serial..those values over serial are separated by spaces
Are the numbers in ASCII? Use the Spreadsheet String to Array function. Wire in a space constant to the delimiter and a 1D array of doubles to the array type. You can then use Index Array to get the value you want.
There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines -
How to convert from value to word ?
Hi all,
I intend to convert from value into words such as 234.50 will be two hundred and thirty four and cents fifty. How should I code or any function will able to produce this ?
Please advise.
Rgds
LimLim
The SP format modifier spells out part of a date - so does YEAR:
SQL> select to_char(sysdate,'YEAR') from dual
2 /
TO_CHAR(SYSDATE,'YEAR')
TWO THOUSAND EIGHT
SQL> To spell out a money amount, you have to take a decimal number and break it into dollars and cents (both integers):
SQL> r
1 declare
2 amount number(10,2) := 12345.67;
3 dollars integer;
4 cents integer;
5 begin
6 dollars := floor(amount);
7 cents := (amount - dollars) * 100;
8 dbms_output.put_line(to_char(to_date(dollars,'J'), 'JSP') || ' dollars a
nd ' ||
9 to_char(to_date(cents,'J'),'JSP') || ' cents');
10* end;
TWELVE THOUSAND THREE HUNDRED FORTY-FIVE dollars and SIXTY-SEVEN cents
PL/SQL procedure successfully completed.
SQL>Note that the spelling out is rather american (in UK we wouldn't add the hyphen and we would say twelve thousand three hundred AND forty five).
Using JSP means we are spelling out a Julian date (ie a number of days, which is allowed to get pretty large. But watch out - there is a limit (somwhere between 1 and 10 million) - ie the number of days between minimum date (4172 BC) and max date (around 31/12/9999).
HTH
Regards Nigel
Maybe you are looking for
-
Can't add my itunes library to my new 30GB video iPod... help please
I have had a 20GB ipod with itunes. I had 822 songs on that itunes library, and just today got an 30GB ipod video. I want the songs already in my library to go into my new ipod. How can I do that without putting all those cds back in and downloading
-
After updating to the latest version of Itunes, my Iphone 4S is no longer recognized as a device in Itunes. Can anyone help? I am using Windows 8.
-
I have an iPhone 4 still running 6.1.3 software. A few days ago it stopped working through my car's USB connection (I have a 2010 Honda Civic Hybrid). I can no longer control my music through my car's stereo system. I am unable to choose what song
-
Hp 6100 printer. how do i print in black and white only?
Just bought an HP6100 Printer and can't get it to print in black and white only. I clicked "Gray" in the setting but didn't seem to help. Still prints a yellow smile face. Thanks, Larry
-
Account management for a J2SE application
Hi, I am looking for an open source package that allows creating and managing user accounts in a J2SE application. It should directly support log in/log out actions and does not have to be very sophisticated. Thank you for your suggestions. Regards,