如何更改数值中的千位分隔符格式 [英] how to change thousand seprator format in numeric value
本文介绍了如何更改数值中的千位分隔符格式的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
HI,
我正在vb 2008中使用Crystal报表.
我面临着长时间显示带有千位分隔符的数值的问题.
在水晶报表中的数值显示为116,791.00
但我想显示为1,16,791.00之类的印度格式
无需更改客户端系统设置.
请帮助我解决此问题.
i am using crystal reports in vb 2008.
i am facing problem from long time to display numeric value with thousand seprator.
in crystal report numeric value shown as 116,791.00
but i want to display as indian format like 1,16,791.00
without changing client side system setting.
please help me to solve this problem.
推荐答案
该线程可能有帮助 [ ^ ]
尝试一下
ToText ({YourReportField}, "##,##,##,##0.00", 2)
参考: http://khanrahim.wordpress.com/2011/04 /25/customized-thousand-separator-in-crystal-report/ [
Ref: http://khanrahim.wordpress.com/2011/04/25/customized-thousand-separator-in-crystal-report/[^]
这篇关于如何更改数值中的千位分隔符格式的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文