Convert given value into words

i want convert given value into words
such as
amount 54300
in words fifty four thousand three hundred only
thanking you
aamir

number value in words

Similar Messages

  • 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
    Lim

    Lim
    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

  • Reg: Convert the currency value into word formate.

    HI all,
    Is there any FM to convert the currency into word formate.
    Ex: 210
    o/p: two hundreden twenty ruppes..

    Hi,
    Try
    SPELL_AMOUNT
    also HR_IN_CHG_INR_WRDS
    Regards,
    Sachin

  • Convert total amount into words

    Hi
    My requirement is to convert total amount into words.
    For this i used function module SPELL_AMOUNT.
    But its giving wrong (i.e. problem is in the paise).
    I tried with other function module also, its not giving output.
    how i can get exactly correct output.
    Reward points if helpful.

    Hi
    execute this code .
    REPORT  ZCOVERTION.
    TABLES SPELL.
    DATA : T_SPELL LIKE SPELL OCCURS 0 WITH HEADER LINE.
    DATA : PAMOUNT LIKE SPELL-NUMBER  VALUE '23.45'.
    SY-TITLE = 'SPELLING NUMBER'.
    PERFORM SPELL_AMOUNT USING PAMOUNT 'USD'.
    WRITE: 'NUMBERS', T_SPELL-WORD ,'and', T_SPELL-DECWORD.
    FORM SPELL_AMOUNT USING PWRBTR PWAERS.
      CALL FUNCTION 'SPELL_AMOUNT'
           EXPORTING
                AMOUNT    = PAMOUNT
                CURRENCY  = PWAERS
                FILLER    = SPACE
                LANGUAGE  = 'E'
           IMPORTING
                IN_WORDS  = T_SPELL
           EXCEPTIONS
                NOT_FOUND = 1
                TOO_LARGE = 2
                OTHERS    = 3.
    ENDFORM.                               " SPELL_AMOUNT
    Hope this will solve ur problem
    Thanks
    Krushna
    oputput:

  • Translating value into words

    Can somebody please give me the piece of code to translate value into words, i.e., from (value) 27,500 to (words) twenty seven thousand and five hundred only.
    Thanks in advance.

    Following is the sort of code but in language other than Java. I dont even know which language it is. Can somebody please translate it in a Java method like
    public String toWords(double value){
    return.............
    ************ Code Start **********
    'This code was originally written by Joe Foster.
    'It is not to be altered or distributed,
    'except as part of an application.
    'You are free to use it in any application,
    'provided the copyright notice is left unchanged.
    'Code Courtesy of
    'Joe Foster
    ' Convert a currency value into an (American) English string
    Function English (ByVal N As Currency) As String
    Const Thousand = 1000@
    Const Million = Thousand * Thousand
    Const Billion = Thousand * Million
    Const Trillion = Thousand * Billion
    If (N = 0@) Then English = "zero": Exit Function
    Dim Buf As String: If (N < 0@) Then Buf = "negative " Else Buf = ""
    Dim Frac As Currency: Frac = Abs(N - Fix(N))
    If (N < 0@ Or Frac <> 0@) Then N = Abs(Fix(N))
    Dim AtLeastOne As Integer: AtLeastOne = N >= 1
    If (N >= Trillion) Then
    Debug.Print N
    Buf = Buf & EnglishDigitGroup(Int(N / Trillion)) & " trillion"
    N = N - Int(N / Trillion) * Trillion ' Mod overflows
    If (N >= 1@) Then Buf = Buf & " "
    End If
    If (N >= Billion) Then
    Debug.Print N
    Buf = Buf & EnglishDigitGroup(Int(N / Billion)) & " billion"
    N = N - Int(N / Billion) * Billion ' Mod still overflows
    If (N >= 1@) Then Buf = Buf & " "
    End If
    If (N >= Million) Then
    Debug.Print N
    Buf = Buf & EnglishDigitGroup(N \ Million) & " million"
    N = N Mod Million
    If (N >= 1@) Then Buf = Buf & " "
    End If
    If (N >= Thousand) Then
    Debug.Print N
    Buf = Buf & EnglishDigitGroup(N \ Thousand) & " thousand"
    N = N Mod Thousand
    If (N >= 1@) Then Buf = Buf & " "
    End If
    If (N >= 1@) Then
    Debug.Print N
    Buf = Buf & EnglishDigitGroup(N)
    End If
    If (Frac = 0@) Then
    Buf = Buf & " exactly"
    ElseIf (Int(Frac * 100@) = Frac * 100@) Then
    If AtLeastOne Then Buf = Buf & " and "
    Buf = Buf & Format$(Frac * 100@, "00") & "/100"
    Else
    If AtLeastOne Then Buf = Buf & " and "
    Buf = Buf & Format$(Frac * 10000@, "0000") & "/10000"
    End If
    English = Buf
    End Function
    ' Support function to be used only by English()
    Private Function EnglishDigitGroup (ByVal N As Integer) As String
    Const Hundred = " hundred"
    Const One = "one"
    Const Two = "two"
    Const Three = "three"
    Const Four = "four"
    Const Five = "five"
    Const Six = "six"
    Const Seven = "seven"
    Const Eight = "eight"
    Const Nine = "nine"
    Dim Buf As String: Buf = ""
    Dim Flag As Integer: Flag = False
    'Do hundreds
    Select Case (N \ 100)
    Case 0: Buf = "": Flag = False
    Case 1: Buf = One & Hundred: Flag = True
    Case 2: Buf = Two & Hundred: Flag = True
    Case 3: Buf = Three & Hundred: Flag = True
    Case 4: Buf = Four & Hundred: Flag = True
    Case 5: Buf = Five & Hundred: Flag = True
    Case 6: Buf = Six & Hundred: Flag = True
    Case 7: Buf = Seven & Hundred: Flag = True
    Case 8: Buf = Eight & Hundred: Flag = True
    Case 9: Buf = Nine & Hundred: Flag = True
    End Select
    If (Flag <> False) Then N = N Mod 100
    If (N > 0) Then
    If (Flag <> False) Then Buf = Buf & " "
    Else
    EnglishDigitGroup = Buf
    Exit Function
    End If
    'Do tens (except teens)
    Select Case (N \ 10)
    Case 0, 1: Flag = False
    Case 2: Buf = Buf & "twenty": Flag = True
    Case 3: Buf = Buf & "thirty": Flag = True
    Case 4: Buf = Buf & "forty": Flag = True
    Case 5: Buf = Buf & "fifty": Flag = True
    Case 6: Buf = Buf & "sixty": Flag = True
    Case 7: Buf = Buf & "seventy": Flag = True
    Case 8: Buf = Buf & "eighty": Flag = True
    Case 9: Buf = Buf & "ninety": Flag = True
    End Select
    If (Flag <> False) Then N = N Mod 10
    If (N > 0) Then
    If (Flag <> False) Then Buf = Buf & "-"
    Else
    EnglishDigitGroup = Buf
    Exit Function
    End If
    'Do ones and teens
    Select Case (N)
    Case 0: ' do nothing
    Case 1: Buf = Buf & One
    Case 2: Buf = Buf & Two
    Case 3: Buf = Buf & Three
    Case 4: Buf = Buf & Four
    Case 5: Buf = Buf & Five
    Case 6: Buf = Buf & Six
    Case 7: Buf = Buf & Seven
    Case 8: Buf = Buf & Eight
    Case 9: Buf = Buf & Nine
    Case 10: Buf = Buf & "ten"
    Case 11: Buf = Buf & "eleven"
    Case 12: Buf = Buf & "twelve"
    Case 13: Buf = Buf & "thirteen"
    Case 14: Buf = Buf & "fourteen"
    Case 15: Buf = Buf & "fifteen"
    Case 16: Buf = Buf & "sixteen"
    Case 17: Buf = Buf & "seventeen"
    Case 18: Buf = Buf & "eighteen"
    Case 19: Buf = Buf & "nineteen"
    End Select
    EnglishDigitGroup = Buf
    End Function
    '************ Code End **********

  • Converting the amount into words in different languages

    Hi All,
    Is there any FM to convert the amount into words in a specific language.
    SPELL_AMOUNT FM is not working for some of the languages like portuguese, etc..
    Any idea on this.
    Thanks in Advance.

    Hi,
    Use the FM:
    CALL FUNCTION <b>'Y_AMOUNT_IN_WORDS'</b>
    Hope it helps.
    Reward if helpful.
    Regards,
    Sipra

  • FUNCTION MODULE TO CONVERT DATE / TIME INTO WORDS.

    HI EXPERTS,
         FUNCTION MODULE TO CONVERT DATE / TIME INTO WORDS.
    PLS DO HELP.....

    Hiii gita
    we have another FM SPELL_AMOUNT
    regards
    Jaipal

  • I cannot convert pdf file into word

    i cannot convert pdf file into word i have paid for it

    Check the security settings for the purchased PDF.
    Reader cannot convert to Word.

  • Have bought service below to convert pdf files into word excel, Have followed instructions but cannot convert file. Please help.  AD003225761BR Produtos pedidos: Qtd. produto 1 Adobe ExportPDF, Annual (Outro,Todos os idiomas disponíveis) My email: toledo-

    Have bought service below to convert pdf files into word excel, Have followed instructions but cannot convert file. Please help.
    AD003225761BR Produtos pedidos: Qtd. produto 1 Adobe ExportPDF, Annual (Outro,Todos os idiomas disponíveis) My email: [email protected]

    Hi Jwalter,
    Thank you for posting on the Adobe forums,Please let us know what is the exact issue.
    Also, if you want help on how to use the service, kindly try the link below.
    Adobe ExportPDF FAQ
    http://tv.adobe.com/watch/insights-on-acrobat-solutions/introduction-to-adobe-exportpdf/
    Thanks,
    Vikrantt Singh

  • Converting USD amount into word

    Hi,
      I want to convert amount which is in USD into word  i am using below FM
    CALL FUNCTION 'SPELL_AMOUNT'
        EXPORTING
          amount          = dmbtr
          currency        = waers
        FILLER          = ' '
          language        = langu
        IMPORTING
          in_words        = spell
        EXCEPTIONS
          not_found       = 1
          too_large       = 2
          OTHERS          = 3.
      IF sy-subrc = 0.
    now my DMBTR  amount is 21960.00    which is atually 219.60 USD  but in dmbtr initially amount is coming as 21960.00  and when i convert it to word  it is coming as  USD : TWO HUNDRED NINETEEN,  AND CENTS AS SIX THOUSAND,  but acutally it should be  USD DOLLAR TWO HUNDRED NINETEEN AND CENTS SIXTY ONLY,    it is not coming peoprly  so is there any other functionn module for this to convert USD , JPY into word.
      regards,
       zafar

    Hi,
    Assign dmbtr to type PAYR_FI-RWBTR.
    PARAMETERS:   dmbtr type PAYR_FI-RWBTR.
                             OR
    If you didnt get from this try by using type P
    PARAMETERS:   dmbtr type P.
    Regards,
    kalandar
    Edited by: kalandar on Jun 16, 2010 9:48 AM

  • To convert an integer into word

    How do I convert an integer into word in labview. That is for example my input is 100 and  I want "one hundred" as output. I am using Labview 2011.Please help me.............

    Quotient and remainder with an word-list and exponent with a exponent word-list.
    e.g. 123 = x
    log 123 = 2.1 ==> 2 rounded down = y
    While{
      quotient(x-10^y;10)=z
      Get wordlist(z)
      Get exponentlist(y)
      x=x-10^y
      y--
    Then it'll get a little messy with 11-20.
    /Y
    LabVIEW 8.2 - 2014
    "Only dead fish swim downstream" - "My life for Kudos!" - "Dumb people repeat old mistakes - smart ones create new ones."
    G# - Free award winning reference based OOP for LV

  • IPhone SDK: How to convert Pixel values into Point values

    UIScrollView has a property called contentSize. This takes values in points. How do i convert Pixel values into Point Vales?
    -TRS

    As far as I can tell, they're the same - I know they are in Photoshop at least. My 57x57 point Tab Bar icon is also 57x57 pixels.
    Hope that helps

  • Convert column values into a row with a delimiter

    Hi Gurus,
    This may be a trivial question to you. I have an internal table itab with a column called plant, internal table has 'n' records, by the end of loop, I need to convert the column into a row delimited by comma into one row (one field). This needs to be dynamic without hard-coding.
    Plant
    1000
    2000
    3000
    4000
    5000 ....
    n....
    Expected result of the field:
    field1 value: 1000,2000,3000,4000,5000,...n
    Let's set a limit to the field say it can hold upto 500 chars.
    Thanks,
    GP.

    Hi,
    I've already tried this:
      ELSEIF <fs_dms_cv>-zca_cv_attr_ind = c_multiple.
      w_plant = <fs_plant_ele>-werks.
      concatenate w_string w_plant
                    into w_string separated by c_delimiter.
          IF w_end_fl = c_on.
          w_tabname = <fs_dms_cv>-dbtabname.
           ASSIGN (w_tabname) TO <fs_tabname>.
            IF sy-subrc = 0.
             ASSIGN COMPONENT <fs_dms_cv>-name_komp OF 
                STRUCTURE <fs_tabname> TO <fs_destination>.
                        IF sy-subrc = 0.
                          <fs_destination> = w_string.
                        ENDIF.
            ENDIF.
    There are 2 issues here: One is that after first plant there will be two commas inserted, after that it's consistent. Secondly the key word concatenate is against our code standards.
    Please let me know if there is any other way of doing this.
    Thanks.

  • How to convert jpeg files into word

    How to convert jpeg files into Word

    Hi Eugene,
    I don't think you can convert an image to a Word document, but you could place the JPEG into a Word document using the Insert > Object command in Word.
    For other questions relating to Word, you will probably have more luck getting an answer if you post on the Microsoft forums (we can help if you're using Acrobat, or another Adobe product, but you'll find the Word experts on the Microsoft forums.)
    Best,
    Sara

  • Convert rdf report into Word document.

    Hello,
    I am using Developer 2000 from designing reports.
    I nees to convert one of my report(rdf) in word document.
    How can i do that??
    Thanks..

    Hello,
    You cannot convert a RDF into a Word Document but you can generate a RTF file from a RDF file.
    Example with reports 6i runtime :
    rwrun60 report=test destype=file desname=c:\temp\output.rdf desformat=rtf userid=scott/tiger@db
    Regards

Maybe you are looking for

  • Is there a workaround to 10.4's new way of redrawing screens?

    I'm hoping that the people in this forum might understand my issue and and have some suggestions. I'm using a WebEx-type web meeting service called Pixion for web presentations. Now that I've upgraded from 10.2.8 to 10.4, the service is not detecting

  • Screen sharing to OS X Lion Server with non-admin account

    I have set up a Lion Server with one admin (in addition to the root user) and several non-admin normal accounts. In Server.app, I have enabled remote login with ssh, and remote management via screen sharing.  I am unable to use Screen Sharing to conn

  • Creating a Web Service From an existing Java Project

    Hi folks, I'm new to web services and SAP Netweaver so I need to know if I can use my exisiting Java codes (not EJB's though) for creating web services and the WSDL. I've already gotten the codes working and all and just need to make them into web se

  • Default template is English (US)

    Hi, when we create any new Office Document via the 'new document' button in SharePoint 2010 the default proofing language is always English (US).... No matter if the Regional settings in the Site Collections are English (UK), or the default in Office

  • API to add Image for an Item in PIM Module

    Hi, I'm working on PIM (Product Information Manager) Module. Is their any API to upload attachments & Images while creating Items in PIM Module?? Thanks in advance. Thanks, Santhosh