Click here to Skip to main content
14,669,324 members
Rate this:
Please Sign up or sign in to vote.
See more:
I am working on a desktop application.Its a billing software.I have written code for calculating total bill and displaying it in lable.Now what I want is to convert that value to string and display it in another textbox.(for eg total bill is 2707.12 and It is displayed in label ,I want to display amount In words in textbox as Two Thousand Seven Hundred Seven & Twelve Paise)how To do? Thanks for your time and consideration.Looking for favorable reply soon.
Posted

Rate this:
Please Sign up or sign in to vote.

Solution 3

check this link

http://midnightprogrammer.net/post/Convert-Numbers-to-Words-in-C.aspx[^]

It will help you solve your problem.

I have tried this.
   
Comments
shilpa sonawane 7-Mar-12 5:42am
   
Thanks for your reply.But Sir,actually I want the output should be like for eg 642.12 should be displayed as six hundred forty Two Rupees and twelve paise .second thing 100000 should be 1lakh and all .do you have solution over this
Aniket Yadav 7-Mar-12 6:33am
   
Please check that there is one cs file named Num2wrd.cs

Download this file

That is what this CS file do.

Have you checked it?

It returns the numeric value in words.

Please go through it thoroughly.
shilpa sonawane 7-Mar-12 6:42am
   
Thanks a lot Sir..Problem is solved. Thanks again

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)




CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100