如何在Crystal Reports中将数字转换为单词 [英] How to convert number to words in Crystal Reports

查看:83
本文介绍了如何在Crystal Reports中将数字转换为单词的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想在水晶报表公式字段中将数字转换为单词。

假设金额为31500





它应该显示如下:

三十一百五十

解决方案

看看这里:



http://www.c-sharpcorner.com/论坛/ ShowMessages.aspx?ThreadID = 38232 [ ^ ]



祝你好运!


这一个使用Crystal报告



将货币转换为Crystal Reports中的单词(印度格式) [ ^ ]


公式=Rs。 + ToWords({@ calculate_TotalAmtwithChrges},0)+和+ ToWords((Round({@ calculate_TotalAmtwithChrges},2) - Int({@ calculate_TotalAmtwithChrges}))* 100,0)+Paise only

I want to convert number to word in crystal report formula fields.
Suppose the amount is 31500


It should show like:
Thirty One Thousand and Five Hundred

解决方案

Have a look here:

http://www.c-sharpcorner.com/Forums/ShowMessages.aspx?ThreadID=38232[^]

Good luck!


This one by using Crystal report

Convert Currency to Words (Indian Format) in Crystal Reports[^]


Formula="Rs. "+ ToWords ({@calculate_TotalAmtwithChrges},0) + " and " +ToWords ((Round({@calculate_TotalAmtwithChrges},2) - Int({@calculate_TotalAmtwithChrges})) * 100, 0) + " Paise only"


这篇关于如何在Crystal Reports中将数字转换为单词的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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