正如显示美元的象征一样,在一个文本块中 [英] As show the symbol of the dollar, pound in a textblock

查看:81
本文介绍了正如显示美元的象征一样,在一个文本块中的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

你好:

因为我可以显示美元的符号,所以在带有开关的不同语言的文本块中输入或if if

解决方案

myTextBlock.Text = 1234.56.ToString(" C");  应将本地化的货币符号放在文本块中。   

hello:

As I can show the symbol of the dollar, pound in a textblock for the different languages with switch or with if

解决方案

myTextBlock.Text = 1234.56.ToString("C");  Should put the localized currency symbol in the textblock.   


这篇关于正如显示美元的象征一样,在一个文本块中的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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