Hi There, Want to convert numbers into Characters.

Hi,
I'm having a field which is having a sum of sal.
suppose "5201"
and i want to print this figures in a different field as
"Five Thousand Two Hundred One" Or "Five Two Zero One"
Is it possible?
If yes Please let me know it's urgent.
Thanks in advance.
Bachan

SUBSTR + INSTR to the rescue once again ….
1 select to_char(to_date(floor(123.25),'J'),'JSP')
2 || ' Dollars And Cents '
3 || to_char(to_date(floor(Substr(123.25,Instr(123.25,'.')+1,Length(123.25))),'J'),'JSP')
4* from Dual
SQL> /
TO_CHAR(TO_DATE(FLOOR(123.25),'J'),'JSP')||'DOLLARSAND
ONE HUNDRED TWENTY-THREE Dollars And Cents TWENTY-FIVE
1 select to_char(to_date(floor(5187.75),'J'),'JSP')
2 || ' Dollars And Cents '
3 || to_char(to_date(floor(Substr(5187.75,Instr(5187.75,'.')+1,Length(5187.75))),'J'),'JSP')
4* from Dual
SQL> /
TO_CHAR(TO_DATE(FLOOR(5187.75),'J'),'JSP')||'DOLLARSANDCENTS'||TO_CHA
FIVE THOUSAND ONE HUNDRED EIGHTY-SEVEN Dollars And Cents SEVENTY-FIVE
1 select to_char(to_date(floor(5501.25),'J'),'JSP')
2 || ' Dollars And Cents '
3 || to_char(to_date(floor(Substr(5501.25,Instr(5501.25,'.')+1,Length(5501.25))),'J'),'JSP')
4* from Dual
SQL> /
TO_CHAR(TO_DATE(FLOOR(5501.25),'J'),'JSP')||'DOLLARSANDCENTS
FIVE THOUSAND FIVE HUNDRED ONE Dollars And Cents TWENTY-FIVE
Shailender Mehta

Similar Messages

  • TS1424 My iTunes and App store are opening in chinese language but I want to convert it into English... How to do that???

    My iTunes and App store are opening in chinese language but I want to convert it into English... How to do that???

    As far as I know the language of the two stores on the iPad (iTunes and the App Store) can't be changed - they should be in the language of the country where your account is based (if they aren't correct then try logging out of your account by tapping on your id in Settings > Store and then log back in).

  • I'm a "virgin" at this!!  I just scanned a phone list into a computer, saved it as a PDF doc.  I want to convert it into Excel doc and SAVE in Excel so I can update as necessary.  Help!!

    I've never used this service!  I just scanned a phone list into my computer and saved it as a PDF doc.  I wanted to convert it into an Excel file to make updating easy.  Help!

    When you scan something, the result is an image, no editable text.  This is why text inside an image must be converted into real text; using OCR (Optical Character Recognition).
    The way to do that is different when using Acrobat or ExportPDF; that's why I'm asking.

  • Convert numbers into words

    i work on release 11i application and converts some reports to run with xml publisher
    i want to convert a total field that exist in po report to words it seems to convert number into words isthat possible i tried to make this in oracle reports and it run successfully but there is a problem when converting that report to run with xml publisher .
    any help will be approtiated.

    Use ap_amount_utilities_pkg.ap_convert_number
    E.g.
    SQL> select ap_amount_utilities_pkg.ap_convert_number(trunc(12345678)) from dual;
    AP_AMOUNT_UTILITIES_PKG.AP_CONVERT_NUMBER(TRUNC(12345678))
    Twelve million three hundred forty-five thousand six hundred seventy-eight
    Gareth

  • When I go into pdf file it only gives me the option to convert into pdf when it's already a pdf. I want to convert it into word and I've purchase this a few months ago now I need help

    I Need help in converting a pdf into word. I've purchased it a few months ago and now for the first time I tried to use word and I can't it only gives me the option to convert it into a pdf when it is already a pdf! Urgent help please

    Not sure what you mean by "tried to use Word". ExportPDF doesn't change what Word can do. Can you explain what you try and what happens in more detail?

  • PLEASE HELP!  Converting numbers into real words

    I am faced with a problem. I need to create a prorgram that will convert a number ex. 156 into the word "one hundred fiftysix" This program will need to handle numbers up to 999 999 999.
    If someone has a program similar to this or is willing to assist a newbie programmer, your assistance would be appreciated.
    Also source code is preffered, prefferbly with c as the console.
    Thanks again

    Here is my most up to date code
    I also forwarded you a copy of my code
    import hsa.Console;
    public class ConvertingWordsToNumbers
    private static int convertingFromOneToNineteen (String numberString)
    String oneToNineteenInWords [] = {"", "one ", "two ", "three ", "four ", "five ", "six ", "seven ",
    "eight ", "nine ", "ten ", "eleven ", "twelve ", "thirteen ", "fourteen ", "fifteen ",
    "sixteen ", "seventeen ", "eighteen ", "nineteen "};
    int oneToNineteenInNumbers [] = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19};
    int total = 0;
    //Checking for each word and adding it to each total
    for (int pos = 1 ; pos <= oneToNineteenInWords.length ; pos++)
    if (numberString.indexOf (oneToNineteenInWords [pos]) >= 0)
    total += oneToNineteenInNumbers [pos];
    numberString = numberString.substring ((numberString.indexOf (oneToNineteenInWords [pos])));
    return total;
    return total;
    private static int convertingFromTwentyToNinety (String numberString)
    String twentyToNinetyInWords [] = {"", "", "twenty", "thirty", "fourty", "fifty", "sixty", "seventy",
    "eighty", "ninety"};
    int twentyToNinetyInNumbers [] = {0, 0, 20, 30, 40, 50, 60, 70, 80, 90};
    int total = 0;
    //Checking for each word and adding it to each total
    for (int pos = 1 ; pos <= twentyToNinetyInWords.length ; pos++)
    if (numberString.indexOf (twentyToNinetyInWords [pos]) >= 0)
    total += twentyToNinetyInNumbers [pos];
    numberString = numberString.substring ((numberString.indexOf (twentyToNinetyInWords [pos])));
    return total;
    return total;
    public static void main (String [] args)
    Console c = new Console ("ConvertingWordsToNumbers");
    //Variable Declaration
    String numberString, millions, thousands;
    String keyWords [] = {"million", "thousand"};
    //User Input
    c.println ("Please enter the number (in words) that you wish to convert: ");
    numberString = c.readLine ();
    numberString = numberString.toLowerCase ();
    //Sectioning the millions and thousands
    if (numberString.indexOf (keyWords [0]) > 0)
    millions = numberString.substring (0, (numberString.indexOf (keyWords [0])));
    c.println (millions);
    c.println (convertingFromOneToNineteen (millions) + convertingFromTwentyToNinety (millions));
    if (numberString.lastIndexOf (keyWords [1]) > 0)
    thousands = numberString.substring ((numberString.indexOf (keyWords [0]) + 8),
    (numberString.indexOf (keyWords [1])));
    c.println (thousands);
    c.println (convertingFromOneToNineteen (thousands) + convertingFromTwentyToNinety (thousands));
    else if (numberString.lastIndexOf (keyWords [1]) > 0)
    thousands = numberString.substring (0, (numberString.indexOf (keyWords [1])));
    } // main method
    } // ConvertingWordsToNumbers class
    thanks again

  • I want to convert webpages into an Adobe pdf (I have Adobe Acobat 9 installed). Also how do you add to Firefox Menu "Convert pdf"

    In Internet Explorer, I am able to install into the menu tool bar - Convert to pdf. Can I do the same with Firefox.
    Secondly, when I tried to print to "Adobe pdf", the page does not fully represent the webpage?

    See if Adobe has a PDF Toolbar extension for Firefox.
    Or, look into a PDF extension for Firefox, such as these extensions. <br />
    https://addons.mozilla.org/en-US/firefox/addon/14979/ <br />
    https://addons.mozilla.org/en-US/firefox/addon/5971/ <br />
    https://addons.mozilla.org/en-US/firefox/addon/220850/

  • I finished making an animated .gif image in FireWorks. My question is, how do I convert it into video so that when I edit video, that every video editing program recognizes it? Long story short, How do I convert animated .gif files into video formats?

    I worked in Adobe FireWorks to make the animated .gif. What program do I use to convert the file from .gif to any video format: .mp4, .m4v, .avi, .wmv, etc. I want to convert it into video format, so that QuickTime Player plays the video, I can insert it into iMovie '11 and edit, and also insert it into Final Cut Pro X and edit video.

    Thanks for getting back with me so promptly.  It has taken me this time to connect with the proper people to find out the information you requested.
    The camera used to film the class was a Panasonic AG-HMC40P, owned by a local cable TV station; they use Kodak video encoding software, and a SD card was used to store the video.   The file extension is .mts, and the mime file is MPEG 2 transport.  He said I probably need an AVCHD converter, and the Mac app store lists 8 of those options, 4 free and 4 for up to $9.99.  He said I'll also need a converter for later plans of posting on YouTube or on the website, and while some of those in the app store might work for the later needs, he knows one app called "Compressor" that would work for the uploading later.  He also suggested I could try renaming the .mts file to .MP2T, but he wasn't sure that would work.
    They don't work with Macs at the studio, but I had thought I could have some lessons there in editing, and apply what I learned to my iMac and iMovie.
    First, though, I have to be able to see it and review it!
    Thanks again!

  • Convert variable into an array

    I have variable, abc; whose value is in the format val1,val2,val3,..
    I want to convert it into an array, like that arr[0]=val1; arr[1]=val2; so on. How can I do this?
    Usman

    examine this class that I did
    import java.lang.*;
    public class ReadString {
    public static void main(String[] args){
    String abc = "1,2,3,4,5,6";
    StringBuffer abc2 = new StringBuffer(abc);
    int arrayLength = abc2.length(); //get length
    int[] abcFinal = new int[6];
    for (int i=0; i<arrayLength; i++) { //test characters
         int anIndex;
         if (!(abc2.substring(i,i+1)).equals(",")) { //if it is a number
         //(i/2) is ta little formula to be able to assign the
         //right index in the intArray to the number
         anIndex = (i/2);
         //set value to array
         abcFinal[anIndex] = Integer.parseInt(abc2.substring(i,i+1));
    for (int j=0;j<abcFinal.length;j++ ) {
         System.out.println("i = " + j + " value = " + abcFinal[j]);
    }//end main
    }//end class

  • How to convert pdf into html?

    Hi,
    I am an amateur ASP developer. I want to create a pdf viewer like http://www.scribd.com. But I want to convert PDF into HTML on the server and then display it to the client. I want to convert into HTML so that it can be browsed from mobile devices also. And I need the text to be searched client side.
    Can anyone help me? Give me any direction or hint on how to achieve this or where to start? Have anyone done this before?

    Irosenth,
    Thank you very much for your kind reply.
    Well, can you give me a clue from where to start? Is there any server component? or can ASP.NET help? Or from where I can get some information on converting PDF into html on server side?
    Look, everybody was a starter sometime. I want to do this.

  • Converting iTunes into MP3 file

    Hey everybody,
    OK, I've purchased music from iTunes store. I want to convert them into mp3 so I can download them into my Palm t/x. But I keep getting the same message telling me that the song is "protected and cannot be converted." Is there any way to get around this? Thanks for any help.

    Thanks so very much that worked like a dream...now I have to buy another card...The one I have just doesn't have enough memory ;o)

  • CONVERT ROWS INTO COLUMNS IN INTERNAL TABLE

    Hi Experts,
    I want to convert rows into coloumns in final internal table.
    How to do that one. Can any one help me its very urgent.
    Regards,
    PBS.

    hi,
    Find the below code for changing rows into colums.
    data: begin of itab1 occurs 0,
    fld,
    end of itab1.
    data: begin of itab2 occurs 0,
    fld1,
    fld2,
    fld3,
    end of itab2.
    itab1-fld = 1.
    append itab1.
    itab1-fld = 2.
    append itab1.
    itab1-fld = 3.
    append itab1.
    read table itab1 index 1.
    if sy-subrc eq 0.
    itab2-fld1 = itab1-fld.
    endif.
    read table itab1 index 2.
    if sy-subrc eq 0.
    itab2-fld2 = itab1-fld.
    endif.
    read table itab1 index 3.
    if sy-subrc eq 0.
    itab2-fld3 = itab1-fld.
    endif.
    append itab2.
    loop at itab1.
    write:/ itab1.
    endloop.
    loop at itab2.
    write:/ itab2.
    endloop.
    refer the below link for further information
    internal table rows to columns
    in the final display list how can i change rows to columns and vice versa

  • Feeding numbers into an Array

    Hi, I want to feed numbers into an array but its only using the first element. In my vi users can enter a number and this number needs to be then stored in an array. Any help would be welcome. Thanks

    like this maybe?
    Of course you would replace the random number with a control and use an event structure to spin the loop only if the input is changed by the user, for example.
    LabVIEW Champion . Do more with less code and in less time .
    Attachments:
    AddNumbers.png ‏2 KB

  • Convert FM into web services

    Hi,
      I have a function module and I want to convert it into web services. Is it required that the FM must be RFC enabled?
    Regards ,
    Godadhar.

    yes.
    Please check link:
    http://help.sap.com/saphelp_nw04/helpdata/en/e9/ae1b9a5d2cef4ea4b579f19d902871/frameset.htm
    "To create a Web service from a function group or function module, you can call the Creation Wizard from the Function Builder (SE37). Choose the function module, display it, then choose Utilities --> More Utilities --> Create Web Service --> From the Function Moduleor From the Function Group.
    Note that the function group must contain at least one RFC-enabled function module."

  • I want to convert a series of names into a table (in either numbers or pages). The list I have has a name and then an email address in brackets, followed by a 'yes' or a 'no'. I would like to separate the list into three columns

    I want to convert a series of names into a table (in either numbers or pages). The list I have has a name and then an email address in brackets, followed by a 'yes' or a 'no'. I would like to separate the list into three columns - the first containing the name, the second containing the email address and the third containing the 'yes' or 'no'.
    Can you help me ?

    The question that needs to be answered is what is separating the columns? Is it a single tab, one or more tabs, spaces, or what?  Or is it the brackets that makes the separation between the three pieces of data?
    If it is always a single tab, that makes it really easy.  All you have to do is find/replace the brackets with nothing (as Wayne said)
    If it might be multiple tabs, you can find/replace tab-tab with a single tab and repeat that a few times until no more double-tabs are found.
    If it is one or multiple spaces, that might be difficult. I'll think about this one if this is what you have. I'll ignore this possiblility for now.
    If it is the brackets separating the three pieces of data, you would Find/Replace the left bracket with a tab then do the same with the right bracket.

Maybe you are looking for

  • How do I use the XML-data from a callback in JSP?

    I´ve tried this but with no success.. How do I recieve the data in a servlet/JSP-page? Thanks.

  • [SOLVED] Two Grub boot menus on Macbook pro 7.1 efi boot

    Hello This is my first Arch post and I feel a bit of a fool for making the error I'm going to describe but here we go.... A couple of weeks ago I installed Arch as dual boot on my Macbook pro 7.1 and I'm generally quite happy with the result.  I boot

  • DPR in A/R is affecting Tax Amount

    Hi   While creating Down Payment Request in A/R Tax % get affected which i don't want. I don't want to use Payment on Account. Secondly i want to know if i changed the tax code to exempt  at the time of DPR , am i right or i am wrong somewhere. Thank

  • Lightroom 2.1 upgrade for Windows PC

    I updated the version 2 via download seamlessly, but yesterday when I did the 2.1 update the "Develop" module is now telling me "The file named xxxx is offline or missing". Nothing has changed except for the update....any suggestion on how to get the

  • TS3297 after updating and signing in all of my songs and my backups are gone what happend?

    I had a computer crash and I had to do a reinstall of my whole system. After that was all straightened out, I reinstalled itunes and updated it. Then I pluged in my ipod and signed in to itunes. and there was nothing there. What did I do?