Click here to Skip to main content
15,905,686 members
Please Sign up or sign in to vote.
1.00/5 (2 votes)
See more:
Hi all,
how can i convert my currency value to text . Like if i get the value $10383.50,then it should show "Ten Thousand Three Hundred Eighty Three dollar fifty cents" .
Posted
Comments
[no name] 6-Aug-14 9:02am    
What have you tried? What was the problem with what you have tried?
[no name] 8-Aug-14 1:53am    
Please Up vote if the solution 4 helped you :)

1.As I know there is not automatically conversion function in .NET for doing this;

2.You could implement an algorithm for doing this, and you should use in it texts (like One, Two, Ten, Eleven, Hundred, etc) that could be stored in you application Resources, then in your logic should select the right one based on its value and its position in the currency value.
 
Share this answer
 
Comments
Pravuprasad 8-Aug-14 1:39am    
thanks 4 ur help interms of logic.
Raul Iloc 8-Aug-14 1:48am    
Welcome!
Did you try to do it like I suggested?
Pravuprasad 8-Aug-14 4:22am    
yeah.
Find the below link. It may help you
http://www.vb-helper.com/howto_net_number_to_words2.html[^]
 
Share this answer
 
I have done what you want partially. Please, refer my link [Convert Number Into Word]. If any suggestions always welcome.
 
Share this answer
 

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



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900