Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. ASP.NET
  4. How to Spell a Number

How to Spell a Number

Scheduled Pinned Locked Moved ASP.NET
csharptutorial
10 Posts 4 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • S Offline
    S Offline
    saini arun
    wrote on last edited by
    #1

    Hi! Please consider the following scenario... I have a number, say 10234 and I want to convert this number into words, i.e. Ten Thousand Two Hundred and Thirty Four. Is it possible in VB.net and if so then please suggest a logic. And in the worst case please suggest some keywords to search in google, the keywords I am using are not returning expected results. Thanks, Arun

    “The woods are lovely, dark and deep. But I have promises to keep, and miles to go before I sleep.”

    P L 2 Replies Last reply
    0
    • S saini arun

      Hi! Please consider the following scenario... I have a number, say 10234 and I want to convert this number into words, i.e. Ten Thousand Two Hundred and Thirty Four. Is it possible in VB.net and if so then please suggest a logic. And in the worst case please suggest some keywords to search in google, the keywords I am using are not returning expected results. Thanks, Arun

      “The woods are lovely, dark and deep. But I have promises to keep, and miles to go before I sleep.”

      P Offline
      P Offline
      pmarfleet
      wrote on last edited by
      #2

      LucknowRockers wrote:

      And in the worst case please suggest some keywords to search in google, the keywords I am using are not returning expected results

      Did you try these words[^]?

      Paul Marfleet "No, his mind is not for rent To any God or government" Tom Sawyer - Rush

      S 1 Reply Last reply
      0
      • S saini arun

        Hi! Please consider the following scenario... I have a number, say 10234 and I want to convert this number into words, i.e. Ten Thousand Two Hundred and Thirty Four. Is it possible in VB.net and if so then please suggest a logic. And in the worst case please suggest some keywords to search in google, the keywords I am using are not returning expected results. Thanks, Arun

        “The woods are lovely, dark and deep. But I have promises to keep, and miles to go before I sleep.”

        L Offline
        L Offline
        led mike
        wrote on last edited by
        #3

        LucknowRockers wrote:

        Is it possible in VB.net

        Yes. This is a Web Site Project, that's why you are asking this in the ASP.NET forum?

        LucknowRockers wrote:

        please suggest some keywords to search in google

        try: VB sucks or: software "spell numbers" or: career change

        led mike

        S 1 Reply Last reply
        0
        • L led mike

          LucknowRockers wrote:

          Is it possible in VB.net

          Yes. This is a Web Site Project, that's why you are asking this in the ASP.NET forum?

          LucknowRockers wrote:

          please suggest some keywords to search in google

          try: VB sucks or: software "spell numbers" or: career change

          led mike

          S Offline
          S Offline
          saini arun
          wrote on last edited by
          #4

          hi Mike, YOU ARE COMPLETELY WRONG. The actual requirement was for a asp.net application I am developing for my company. It will automate many things and also the payroll. I wanted to print the salary in words along with numbers and that's why after wondering couple of hours I posted this question on this forum. Now, I think the things are pretty clear to you and one more thing I want to suggest you that before making decision about anybody please try to find the actual cause. Cheers :) , Arun

          “The woods are lovely, dark and deep. But I have promises to keep, and miles to go before I sleep.”

          L 1 Reply Last reply
          0
          • P pmarfleet

            LucknowRockers wrote:

            And in the worst case please suggest some keywords to search in google, the keywords I am using are not returning expected results

            Did you try these words[^]?

            Paul Marfleet "No, his mind is not for rent To any God or government" Tom Sawyer - Rush

            S Offline
            S Offline
            saini arun
            wrote on last edited by
            #5

            Hi Paul! Thanx for your help. I found the logic with the help of the keywords suggested by you. :-D You know sometimes the things are very obvious but you just don't get them working for you. :sigh: Thanks again, Bye

            “The woods are lovely, dark and deep. But I have promises to keep, and miles to go before I sleep.”

            P 1 Reply Last reply
            0
            • S saini arun

              hi Mike, YOU ARE COMPLETELY WRONG. The actual requirement was for a asp.net application I am developing for my company. It will automate many things and also the payroll. I wanted to print the salary in words along with numbers and that's why after wondering couple of hours I posted this question on this forum. Now, I think the things are pretty clear to you and one more thing I want to suggest you that before making decision about anybody please try to find the actual cause. Cheers :) , Arun

              “The woods are lovely, dark and deep. But I have promises to keep, and miles to go before I sleep.”

              L Offline
              L Offline
              led mike
              wrote on last edited by
              #6

              led mike wrote:

              This is a Web Site Project, that's why you are asking this in the ASP.NET forum?

              LucknowRockers wrote:

              YOU ARE COMPLETELY WRONG. The actual requirement was for a asp.net application I am developing for my company.

              Ah I see, I was COMPLETELY WRONG because I asked if it was a Web Site Project when in fact it is an ASP.NET application. :laugh::laugh::laugh:

              led mike

              S 1 Reply Last reply
              0
              • S saini arun

                Hi Paul! Thanx for your help. I found the logic with the help of the keywords suggested by you. :-D You know sometimes the things are very obvious but you just don't get them working for you. :sigh: Thanks again, Bye

                “The woods are lovely, dark and deep. But I have promises to keep, and miles to go before I sleep.”

                P Offline
                P Offline
                pmarfleet
                wrote on last edited by
                #7

                LucknowRockers wrote:

                You know sometimes the things are very obvious but you just don't get them working for you.

                Too true. Happy to help.

                Paul Marfleet "No, his mind is not for rent To any God or government" Tom Sawyer - Rush

                1 Reply Last reply
                0
                • L led mike

                  led mike wrote:

                  This is a Web Site Project, that's why you are asking this in the ASP.NET forum?

                  LucknowRockers wrote:

                  YOU ARE COMPLETELY WRONG. The actual requirement was for a asp.net application I am developing for my company.

                  Ah I see, I was COMPLETELY WRONG because I asked if it was a Web Site Project when in fact it is an ASP.NET application. :laugh::laugh::laugh:

                  led mike

                  S Offline
                  S Offline
                  saini arun
                  wrote on last edited by
                  #8

                  led mike wrote:

                  Ah I see, I was COMPLETELY WRONG because I asked if it was a Web Site Project when in fact it is an ASP.NET application

                  I thought you are giving the reference of some other web site project for which this type of query has already been asked, that's why I wrote those lines. :) By the way, thanks for entertaining me with your funny replies and also for talking nothing about the problem I asked and distracting my mind for some time from the work load. It really helped alot. X| I have got the solution and going back to my work. So no further replies from my side. Bye :cool:

                  “The woods are lovely, dark and deep. But I have promises to keep, and miles to go before I sleep.”

                  L 1 Reply Last reply
                  0
                  • S saini arun

                    led mike wrote:

                    Ah I see, I was COMPLETELY WRONG because I asked if it was a Web Site Project when in fact it is an ASP.NET application

                    I thought you are giving the reference of some other web site project for which this type of query has already been asked, that's why I wrote those lines. :) By the way, thanks for entertaining me with your funny replies and also for talking nothing about the problem I asked and distracting my mind for some time from the work load. It really helped alot. X| I have got the solution and going back to my work. So no further replies from my side. Bye :cool:

                    “The woods are lovely, dark and deep. But I have promises to keep, and miles to go before I sleep.”

                    L Offline
                    L Offline
                    led mike
                    wrote on last edited by
                    #9

                    LucknowRockers wrote:

                    and also for talking nothing about the problem I asked

                    led mike wrote:

                    LucknowRockers wrote: please suggest some keywords to search in google try: .... or: software "spell numbers"

                    Perhaps you should conserve your energy by cutting down on your replies to me. You will probably need all the energy you can get to complete your project.

                    Abandon hope all ye who answer here.

                    Pete O'Hanlon - the General Discussions forum

                    P 1 Reply Last reply
                    0
                    • L led mike

                      LucknowRockers wrote:

                      and also for talking nothing about the problem I asked

                      led mike wrote:

                      LucknowRockers wrote: please suggest some keywords to search in google try: .... or: software "spell numbers"

                      Perhaps you should conserve your energy by cutting down on your replies to me. You will probably need all the energy you can get to complete your project.

                      Abandon hope all ye who answer here.

                      Pete O'Hanlon - the General Discussions forum

                      P Offline
                      P Offline
                      Pete OHanlon
                      wrote on last edited by
                      #10

                      Now that sig rocks.

                      Deja View - the feeling that you've seen this post before.

                      My blog | My articles

                      1 Reply Last reply
                      0
                      Reply
                      • Reply as topic
                      Log in to reply
                      • Oldest to Newest
                      • Newest to Oldest
                      • Most Votes


                      • Login

                      • Don't have an account? Register

                      • Login or register to search.
                      • First post
                        Last post
                      0
                      • Categories
                      • Recent
                      • Tags
                      • Popular
                      • World
                      • Users
                      • Groups