如何在Windows应用程序中添加印度卢比符号 [英] How to Add Indian Rupee Symbol in Windows App

查看:105
本文介绍了如何在Windows应用程序中添加印度卢比符号的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

先生/女士,



如何在Datagridview TextBox格式值中添加印度卢比符号?

解决方案

< blockquote>因为它是标准化的 unicode符号 [ ^ ],您可以将其用作任何其他字符。但请注意在此时使用支持这组字形的字体。


类似的问题: c#Winforms中的新卢比符号? [ ^ ]



问候..


您可以使用字符串格式将货币符号显示为特定文化。



  //  您的货币值 
十进制 moneyvalue = 1921 0.39米;
string formatedCurrencyString = String .Format( 订单总数:{0:C},moneyvalue);


Sir/ Madam,

How to add Indian Rupee Symbol in Datagridview TextBox Format Value?

解决方案

As it is a standardized unicode symbol[^], you can use it as any other character. But be aware to use a font at that point that supports this set of glyphs.


Similar question: New Rupee Symbol in c# Winforms?[^]

Regards..


You can use string format for showing currency symbol as a culture specific.

// your currency value
decimal moneyvalue = 1921.39m;
string formatedCurrencyString= String.Format("Order Total: {0:C}", moneyvalue);


这篇关于如何在Windows应用程序中添加印度卢比符号的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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