Wednesday, August 20, 2008

Register  Login
»  Forum   Search
 Login Minimize


Enter the code shown above in the box below

Register
Forgot Password ?


 Print   
 Links Minimize

 Print   
 Sponsor Minimize

 Print   
 Community Board Minimize
 
  Forum  Programming Lan...  C#.Net  How to convert Currency to Wrods
Disabled Previous
 
Next Disabled
New Post 6/10/2008 5:54 PM
Unresolved
  Sumit Verma
1 posts
Starter


How to convert Currency to Wrods 
Hello All,
Can anybody tell me how to change RS 1,23,250
as
Rupees One lakh twenty three thousand two hundred fifty Only.
 
New Post 6/11/2008 5:39 PM
  Sumit
17 posts
Starter


Re: How to convert Currency to Wrods 

Hello,

You can use this code

http://www.codeproject.com/KB/vbscript/CurrencyToWord.aspx

Or you can simply go backward using following logic

Divide your maximum value, like if it is Trillion than divide your number by 1012 and than divide it with 109 and down to division with 1 or to decimal points if you need. if will be simple recursive sort of method.

Hope that help or let me know to give you complete source code for it.

 


Sumit Gupta http://www.sumitgupta.net
 
Disabled Previous
 
Next Disabled
  Forum  Programming Lan...  C#.Net  How to convert Currency to Wrods

 Print   
 Sponsor Minimize

 Print   
Copyright 2008, Vikasumit   Terms Of Use  Privacy Statement