如何在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