将数字转换为单词 [英] Converting numbers to words
本文介绍了将数字转换为单词的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
任何人都可以帮助我编写一个使用数字并将其翻译成单词句子的程序,例如1,234变成"1,234".并且应该能够处理0到1000万之间的任何数字.
Can anyone please help my to write a program that takes a number and translates it to a word sentence, e.g. 1,234 becomes "one thousand two hundred and thirty four". and it should be able to handle any number between 0 and 10 million.
推荐答案
看看:
将数字转换成单词Asp.net C# [如何使用c#转换卢比为单词 [将数字转换为单词 [在Web表单中将单词转换成单词 [ ^ ]
..and more results ^ ]
Have a look:
Convert Numbers into Words Asp.net C#[^]
How do i convert Rupees in words using c#[^]
Converting Numbers to Words[^]
Similar answer: Number into words in Web Form[^]
..and more results here[^]
htis怎么样:
http://stackoverflow.com/questions/2729752/converting-numbers-in- to-words-c-sharp [ ^ ]
或这样:
http://www.c-sharpcorner.com/uploadfile /b942f9/converting-numbers-to-words-in-C-Sharp/ [
How about htis:
http://stackoverflow.com/questions/2729752/converting-numbers-in-to-words-c-sharp[^]
or this:
http://www.c-sharpcorner.com/uploadfile/b942f9/converting-numbers-to-words-in-C-Sharp/[^]
Next time search Google yourself ;)
也许您可以在 Google 上找到许多解决方案. />
有一些实现:
http://www.c-sharpcorner.com/uploadfile /b942f9/converting-numbers-to-words-in-C-Sharp/ [ http://www.easysurf.cc/cnvert18.htm [
May be you can find many solutions on Google.
There are some implementations:
http://www.c-sharpcorner.com/uploadfile/b942f9/converting-numbers-to-words-in-C-Sharp/[^]
http://www.easysurf.cc/cnvert18.htm[^] --> Right click and see the source code. Translate it to C#
Hope it helps.
这篇关于将数字转换为单词的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文