当前位置:网站首页>asp.net(c#)的货币格式化
asp.net(c#)的货币格式化
2022-07-05 08:42:00 【全栈程序员站长】
1.ToString()方式
string _mm1 = 1000 .ToString( “ N “ ); string _mm2 = ( 1000.23 ).ToString( “ N “ ); // 或者 string _mm = 1000 .ToString( “ #,###.00 “ ) string _mm2 = ( 1000.23 ).ToString( “ #,###.00 “ )
2.页面绑定
< asp:BoundField DataField = “ Total “ DataFormatString = “ {0:#,###} “ HtmlEncode = “ False “ />
发布者:全栈程序员栈长,转载请注明出处:https://javaforall.cn/110740.html原文链接:https://javaforall.cn
边栏推荐
- MATLAB小技巧(28)模糊綜合評價
- Esphone retrofits old fans
- EA introduction notes
- Bluebridge cup internet of things basic graphic tutorial - GPIO output control LD5 on and off
- MATLAB skills (28) Fuzzy Comprehensive Evaluation
- Speech recognition learning summary
- [three tier architecture and JDBC summary]
- 696. 计数二进制子串
- js异步错误处理
- 剑指 Offer 09. 用两个栈实现队列
猜你喜欢

Guess riddles (6)

Digital analog 1: linear programming
![[nas1] (2021cvpr) attentivenas: improving neural architecture search via attentive sampling (unfinished)](/img/3b/c94b8466370f4461875c85b4f66860.png)
[nas1] (2021cvpr) attentivenas: improving neural architecture search via attentive sampling (unfinished)

Xrosstools tool installation for X-Series

Numpy pit: after the addition of dimension (n, 1) and dimension (n,) array, the dimension becomes (n, n)

Guess riddles (8)

【三层架构及JDBC总结】

猜谜语啦(9)

An enterprise information integration system
AttentiveNAS: Improving Neural Architecture Search via Attentive Sampling (未完)](/img/3b/c94b8466370f4461875c85b4f66860.png)
[NAS1](2021CVPR)AttentiveNAS: Improving Neural Architecture Search via Attentive Sampling (未完)
随机推荐
Esp8266 interrupt configuration
STM32 lights up the 1.8-inch screen under Arduino IDE
Digital analog 1: linear programming
Basic number theory -- Euler function
Go dependency injection -- Google open source library wire
Typescript hands-on tutorial, easy to understand
[牛客网刷题 Day4] JZ55 二叉树的深度
Cmder of win artifact
Infix expression evaluation
Cinq détails de conception du régulateur de tension linéaire
猜谜语啦(3)
Halcon affine transformations to regions
One dimensional vector transpose point multiplication np dot
How to write cover letter?
猜谜语啦(10)
2022.7.4-----leetcode. one thousand and two hundred
GEO数据库中搜索数据
Guess riddles (142)
如何写Cover Letter?
Yolov4 target detection backbone