将decimal转换为字符串 [英] convert decimal to string
本文介绍了将decimal转换为字符串的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
朋友们,我需要你的帮助
i有一个文本框,在该文本框中我插入十进制值,这是一种货币,我希望相同的值应转换为第二个文本框中的字符串
请给我一些提示
hi friends i need your help
i have a text box and in that text box i am inserting decimal value which is a currency and i want same value should be convert into a string in second textbox
please give me some hints
推荐答案
你不需要任何东西:文本框内容(即文字
property)已经是一个字符串。
You don't need anything: text box content (that is the Text
property) is already a string.
检查这些答案是否有类似问题
如何将整数转换为其语言表示? [ ^ ]
将数字转换为单词C# [< a href =http://stackoverflow.com/questions/272975 2 / conversion-numbers-in-to-words-c-sharptarget =_ blanktitle =New Window> ^ ]
Humanizer
[ ^ ]
希望,它有帮助:)
Check these answers for similar questions
How can I convert an integer into its verbal representation?[^]
converting numbers in to words C#[^]
Humanizer
[^]
Hope, it helps :)
您不需要转换数据在文本框中已经是文本,只需:
You don't need to convert data in textbox is already text, simply:
TextBox2.text=TextBox1.Text
希望它有所帮助!
Hope it helps!
这篇关于将decimal转换为字符串的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文