如何在C#中将数字转换为字符串 [英] How to convert a digit in to string in C#
本文介绍了如何在C#中将数字转换为字符串的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我的表单有2个文本框.对于一个文本框,我要输入数字,完成后,我需要在另一文本框中输入字符串格式的数字值.这可能吗?
例如:TextBox1-> 100
TextBox2->一百
My form have 2 textboxes. For one text box i''m entering a number & when it''s done i need to get the digit value in string format in other text box. Is this possible?
Ex: TextBox1 --> 100
TextBox2 --> One Hundred
推荐答案
查看类似问题的答案:
如何使用c#将数字转换为文本格式 [ ^ ]
Hi,
see the answers to this similar question:
how to convert numbers into texual format using c#[^]
Google 是您的朋友.
例如,参见将数字转换为单词C# [ ^ ] >.
Google is your friend.
See, for instance, converting numbers in to words C#[^] atstackoverflow
.
您在Google/CP中尝试过吗?
这是您的CP链接.
如何将数值或货币转换为英文使用C#的单词 [ Google [
Hi,
Have you tried in Google/CP?
Here is the CP link for you.
How to convert a numeric value or currency to English words using C#[^]
and here
Google[^]
Try in Google/CP before posting a Question
Thanks
--RA
这篇关于如何在C#中将数字转换为字符串的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文