Number of custom words statemnt, need help

Hello Experts,
I need to translate a number of words for purposes of verification, I have come pretty close, though, I need to add more, please see below:

Assuming that the number is 356.00 I want THREE HUNDRED and FIFTY - SIX AND 00/100 dollars
What I get now is THREE HUNDRED and FIFTY - SIX AND 0/100 DOLLARS (just a zero).
Here is the statement I use:

Select

TO_CHAR (TO_DATE (TRUNC (356.00

0)

,'J')

"JSP"). «AND» | (TO_DATE ((MOD (356.00 TO_NUMBER TO_CHAR

(0) * 100)

,'J')

,' ')|| MOD (356.00

(1) * 100. ' / 100' "| $""Amount in words ".

Double;

When I use a number like 356.12, I get THREE HUNDRED and FIFTY - SIX AND 12/100 DOLLARS, which is fine.


How can I change the code for when I have a number with '. 00' I get 00/100 and not 0/100
I tried to tweak it, but couldn't.

Thanks in advance!

Hello

Here's one way:

WITH got_amt AS

(

SELECT 356.00 AS double amt

)

SELECT TO_CHAR (TO_DATE (TRUNC (amt)

, 'J'

)

, "JSP".

)

|| «AND»

|| To_char (100 * MOD (amt, 1)

, ' 00 '' - in other words, always use 2 digits with leading 0 if necessary "

)

|| '$' AS amount_in_words

OF got_amt

;

Tags: Database

Similar Questions

  • while typing when I use the space bar, he brings a drop instead of spacing between words, I need help please

    While... typing... when... I have... Press on... the... SPACEBAR... it......... brings a let down... down... menu... with, the... Options... to... restore... reduce... New... tab...... reopen closed... tab... task... Manager of... a nd... close... on the contrary... of... spacing of... between... Words...... plz help... Thank you...

    Looks like the space bar is also activate the ALT key and you get the menu Alt-space.  Try another keyboard.

  • I need the customer service who can help.

    I have Photoshop CS5, a legal copy I bought a few years ago, I can not install the program on my computer because she wants me still pay for it.  I need help from customer service, but I'm redirected to a forum.  Very frustrating.

    To reinstall you need several things

    (1) your serial number more support containing the program.

    (2) the serial number of CS4 if your copy of CS5 was a upgrade

    (3) to have no activation exceptional on some other component computers software snap-in which case Adobe can reset your counter.

    Click on the link below and at the bottom, click on the chat applet. Someone from Adobe will help you then.

    Contact the customer service

  • Need help with VIP number: (redacted)

    Dear team,

    We bought 3 license HAVE, in the design and Photoshop with VIP number: (redacted) with birthday Date: May 19, 2017

    However, my account will not work with the error: no subscription Found. Your trial period has expired.

    Help, please.

    Moderator Note: this is a public forum and I do not know the VIP numbers must be mailed.

    Contact support - for the link below, click on the still need help? option in the blue box below and choose the option to chat or by phone...

    Make sure that you are logged on the Adobe site, having cookies enabled, clearing your cookie cache.  If it fails to connect, try to use another browser.

    Creative cloud support (all creative cloud customer service problems)

    http://helpx.Adobe.com/x-productkb/global/service-CCM.html ( http://adobe.ly/19llvMN )

  • I need help downloading Photoshop cs6, but I don't have the code redemption or code key; I don't have the serial number.

    Two years ago I bought PS CS6 and first 11 items at my local dealer. I used it until I had to wipe my computer, making it impossible to register my software. I contacted the seller and all they could give me was proof of my purchase and the serial numbers for each product. I contacted Adobe, and all they could do was to tell me that I need the redemption code. I bought these products as a download online with only a code to use to download. No disc, card, nothing. So, after two years, I have no physical evidence other than my purchase history and serial numbers. I contacted another person by the Adobe Help Center and that they could not help me find the redemption code, nor could they find my name or email under what. Could someone help me please on this issue? I don't exactly want to throw a few thousand dollars because Adobe can't help me to recover what I bought. While the customer service tries to help, I constantly me be given to a person who can't speak proper English, and it's very frustrating. Please advice.

    Thank you

    Inahlee Bauer

    All you need to reinstall the software is a serial number and the installation file. Nothing else.

    Download installers: download and Installation Help | Download and Installation Help

    Install and enter your serial number.

  • Does anyone know an Adobe phone number to call us? We meet a wide range of problems and need help.

    Does anyone know an Adobe phone number to call us? We meet a wide range of problems and need help.

    800-833-6687 (the only one from 05:00 - 19:00 PST, Monday to Friday day US).

    Phone support | Orders, returns, exchanges
    http://helpx.Adobe.com/x-productkb/global/phone-support-orders.html

    To the link below, click on the still need help? option in the blue box below and choose the option to chat or by phone...
    Make sure that you are logged on the Adobe site, having cookies enabled, clearing your cookie cache.  If it fails to connect, try to use another browser.

    Creative cloud support (all creative cloud customer service problems)
    http://helpx.Adobe.com/x-productkb/global/service-CCM.html ( http://adobe.ly/19llvMN )

  • HP 15-g132ds: I need help determine my motherboard model number

    While upgrading memeory I broke the ZIF connector for the power button, now having issues getting the mobile turn on and stay on.  Looking for a motherboard model and the reference number. Board of Directors is marked as ZS051 THE-A996P, Rev 4.0.  When searhcing this Board produces a list of part numbers, a way to make sure that it is what I want before I buy?

    Hi @BICOSTEEL,

    Please become a member of the HP's Support Forums. I understand that you have questions about the reference numbers. I'll be happy to help you.

    When I go to the HP parts store, it shows the motherboard as a card MOTHER UMA A4-6210 W8STD part number 764264-501.

    Please keep me informed of the progress of things.

    If you need help, let me know and I will gladly make all that I can to help you.

    Please let me know if that solves the problem by marking this post as "accept as a Solution.
    To simply say thank you, click the Thumbs up below!

    Thank you.

  • Need help in the development of different customized reports for SCCM 2012 using the Report Builder version 3.0

    Members of the Group of respected

    I need your urgent assistance to solve my problem, if someone who at least somewhat or large information please help me.
    My problem is related to SCCM 2012 and SQL server 2008.
    : - I have to develop a custom reports for SCCM 2012 for one of my clients. I have configured all the settings required for preparing the report, and I have examples of reports provided with sccm 2012.
    I get the problem while developing new relationships, if I have examples of reports that I have studied the corresponding reports. I don't get detailed information from the database to create query and get the desired result. As I have not idea of detail of this database structure in it.
    So I need help to create the query as I am new on this database.
    If anyone understand please give me help or link where I can build the report
    Thanks in advance.

    Forums for this product are here: http://social.technet.microsoft.com/forums/en-US/category/configurationmanager/

  • [Error number: 0x8024400A] Need help with this error... I reinstalled XP SP1 and I can't get an auto update that's simple to install, just get this error every time

    [Error number: 0x8024400A] Need help with this error... I reinstalled XP SP1 and I can't get an automatic update that's simple to install, just get this error at each time HHHHEEEELLLPPPPP! Thank you

    I had the same problem.  But finally found a solution.  If your listing is similar to mine, then keep.  XP Media Center Edition 2005 (sp2).  AMD Athlon 64 x 2 Dual-Core, HP a1630n desktop computer.

    Go to the HP website, search for sp37394-XP sp3 Upgrade utility Microsoft for systems equipped with AMD processors.

    I had the same 0 x 80240036, 0x8024400a error, but realize my problem was really get manually downloaded sp3 and installed without continue loop crashing and not error messages.

  • I associated .exe for Word Pad. Now I'm screwed not of my programs to run. I need help please

    Remember - this is a public forum so never post private information such as numbers of mail or telephone!

    Ideas:

    Hi, I have associated .exe for Word Pad. This means that all .exe files are trying to be open with the word pad. I can not restore and I can't change the default programs because they are all two .exe in the first place. I think I am screwed big time unless someone knows how to solve this problem. I appreciate all help.

    • You have problems with programs
    • Error messages
    • Recent changes to your computer
    • What you have already tried to solve the problem

    http://www.Winhelponline.com/articles/165/1/restore-the-exe-file-association-in-Windows-Vista-after-incorrectly-associating-it-with-another-application.html

    Restore the .exe Windows Vista file association, after badly with another application

    Hope the above information helps you.

    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

    And if you need help of the file Association:

    And how to set file Associations:

    http://articles.TechRepublic.com.com/5100-10878_11-6172036.html

    How do I... Change file extension associations in Windows Vista?

    See you soon.

    Mick Murphy - Microsoft partner

  • Need help finding the model number

    Hello

    I have a dell monitor, but what is on the tag is:
    CN0RW1957287282M0HMS
    Rev a01
    I need help so I can get a replacement for it power button Board.

    Thank you

    CN0RW1957287282M0HMS

    Dell RW195 part number = E198WFPF

    Search spare parts on eBay or these 3rd party repair sites and see if they sell components to monitor and have the internal documents of troubleshooting:
    http://www.lcdrepair.com/

    http://www.shopjimmy.com/Dell

  • Need Adobe to reset the number of activations CS4 in order to activate the CS4 on a new computer. [was: Vicky - Chelsea photo lab.] NEED HELP AS SOON AS POSSIBLE]

    I have photoshop CS4. It gave me a serial number to activate a new computer. I was told that the account has been disabled before but it has never been. The number gave me blocks the application whenever I try to open. I've been waiting for Friday and all day today on the Adobe help. I need my CS4 deactivted from a spescific computer so I can reinstall

    From your description, that you don't know do you have actually the license... seems someone gave it to you.  You might have a hard time selling Support from Adobe.   Licenses must be officially transferred through Adobe.

    In all cases, you will need to communicate with them through chat and ask them to reset your activations.  Ask any more than that or they will send you back here where no one can help you.

    Chat support - the link below click the still need help? the option in the blue box below and choose the option to chat...

    Make sure that you are logged on the Adobe site, having cookies enabled, clearing your cookie cache.  If it fails to connect, try to use another browser.

    Serial number and activation support (non - CC) chat

    https://helpx.Adobe.com/contact.html?step=PHSP-PHXS_downloading-installing-setting-up_lice nsing-activation_stillNeedHelp

  • my computer crashed and I am trying to reistall elements 9.  I downloaded it and I have my serial number, but I need help

    my computer crashed and I am trying to reistall elements 9.  I downloaded it and I have my serial number, but I need help

    Download and Installation Help-

    https://helpx.Adobe.com/download-install.html

  • Need help to reactivate Lightroom 5 with my old serial number and the number TAN.  I got a license for Lightroom 5 when I bought my Leica delux 4 in 2012.

    I got a license for Lightroom 5 when I bought my Leica delux 4 in 2012. It worked great, but after that I put an old hard drive on my PC (for 30 minutes - then I removed again) to get some information of this former, Lightroom now license application or try it for 30 days.

    I have not installed Lightroom on a new hard drive. He is always on the same hard disk. How can I now have my Lightroom to run again using my serial number and TAN? Need help to reactivate my old serial number and the number TAN.

    I use win 7.

    Duplicate thread: need help to reactivate Lightroom 5 with my old serial number and the number TAN.  I got a license for Lightroom 5 when I bought my Leica delux 4 in 2012.

  • Need help with custom script to rename the layers

    Hello world.

    I need help to write a custom script (because I suck at it) that will allow me to go through all the layers and sous-calques for a specific name ('X') and give it a new specific name ('Y').

    I have had success using the script below, but it does not work on any text layers names where the text layer was previously particularly well-known in 'X' and now changed needs.

    Any help is greatly appreciated.

    * Note: this script was originally used to find any layer with 'Copy' in its name and remove with anything after (to correct the problem of duplication of layers by adding this text).

    This is why the function is named removeCopy. It works for renaming layers also - just not a layer of text unfortunately.

    #target illustrator

    function removeCopy() {}
    If (app.documents.length == 0) return;
    var app.activeDocument = docRef;
    recurseLayers (docRef.layers);
    }
    removeCopy();
    function recurseLayers (objArray) {}
    for (var i = 0; i < objArray.length; i ++) {}
    ObjArr [i] .name = ObjArr [i].name.replace (/ \s*current name\s*\d*/, 'new name');
    If (objArray [i] .layers) recurseLayers (. layers.length > 0 ObjArr [i]);
    }
    }

    I finally found something after searching forums for a week. My confusion was related to the way Illustrator treats real layers against text/path/object "layers." Instead of layers, I had to use the pageItems in the script. The code below works. Thanks to Gustavo for his answer in another thread and Carlos I thank you for this looking too good! You're great to be ready to help models do more advanced things with Illustrator.

    var doc = app.activeDocument;
    var items = doc.pageItems;
    for (var g = 0; g)
        elements [g] .name = elements [g].name.replace ('Century Schoolbook text line', ' MonogramText: Century Schoolbook ");
    };
    App.Redraw ();

Maybe you are looking for