text numbers

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • lee123
    Contributor
    • Feb 2007
    • 556

    text numbers

    hey all i have on my form a text box thats in currency but i want to put another text box with the currency spelled out how do i do this?

    for instance if i enter in the text box 312.00
    then in the other text box it would spell this: three hundred twelve dollars

    can this be done?

    lee123
  • QVeen72
    Recognized Expert Top Contributor
    • Oct 2006
    • 1445

    #2
    Hi,

    Googling for "Numeric To words" throws you a few Lakh sites..
    Go through them..
    If you still have problem, post the question here..

    Regards
    Veena

    Comment

    • debasisdas
      Recognized Expert Expert
      • Dec 2006
      • 8119

      #3
      If using database then can be done very easily.

      try this in oracle

      select to_char(to_date (4321,'j'),'jsp ') from dual

      You can pass the number and get the string as output.
      Better to use a Procedure in oracle.

      Comment

      • Killer42
        Recognized Expert Expert
        • Oct 2006
        • 8429

        #4
        Of course, you might have made the mistake of not using Oracle... :)

        I mean, "subscribin g"!

        Comment

        • werks
          New Member
          • Dec 2007
          • 218

          #5
          Originally posted by lee123
          hey all i have on my form a text box thats in currency but i want to put another text box with the currency spelled out how do i do this?

          for instance if i enter in the text box 312.00
          then in the other text box it would spell this: three hundred twelve dollars

          can this be done?

          lee123

          Hi lee123,

          try to go http://www.pscode.com/vb/default.asp?lngWId=1 i have seen a program that do exactly what you want.. just search for it


          Better Than Yesterday ^^

          Comment

          Working...