数字格式99,999,999.99 [英] numeric format 99,999,999.99

查看:826
本文介绍了数字格式99,999,999.99的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

请提供替代方案,它将为我提供数字格式,不含'$'





声明结果

---------------------------------------- -------------------

string mAmount = amount.ToString(c); $ 1,654.68



1,654.68

解决方案







声明结果

---------------------- -------------------------------------

string mAmount = amount。的ToString( C);


1,654.68



1,654.68


http://msdn.microsoft.com/en -us / library / dwhawy9k%28v = vs.110%29.aspx [ ^ ]



使用此链接.....

Please provide the alternative which will give me the numeric format without the '$"


STATEMENT RESULT
-----------------------------------------------------------
string mAmount =amount.ToString("c"); $1,654.68

i.e. 1,654.68

解决方案

"


STATEMENT RESULT
-----------------------------------------------------------
string mAmount =amount.ToString("c");


1,654.68

i.e. 1,654.68


http://msdn.microsoft.com/en-us/library/dwhawy9k%28v=vs.110%29.aspx[^]

Go with this link .....


这篇关于数字格式99,999,999.99的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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