从数字到字符串的转换 [英] Conversion from digits to string

查看:82
本文介绍了从数字到字符串的转换的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好!

在我的Win应用程序中有一个用于输入数字的文本框,相同的数量应该显示在另一个文本框中但是用文字显示。

例子

以数字输入金额:100

输入金额用单词:百元

请帮助

谢谢

解决方案

类似问题



将数字转换为数字的程序 [ ^ ]



谢谢

--RA


你可以使用常量变量。但是根据dec的no来工作laration。

Hi To All!
In my Win Application There is one textbox for entering amount in digits and the same amount should be display in another textbox but in words.
example
enter amount in digits: 100
enter amount in words : Hundred
so my Question is that is there any logic in c# that when i entered "100" in one textbox the other textbox pragmatically shows "Hundred".
Please Help
Thanks

解决方案

Similar Question

Program for converting digits to numbers[^]

Thanks
--RA


You can use constant variables.But that works according to no of declaration.


这篇关于从数字到字符串的转换的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆