Rave 报告中的数字到单词
我已经设法按照我想要的方式设计报告,但我无法让 Rave Report 打印/将总计转换为文字。
例如,如果总计为 1,200.00
,则应仅打印 一千二百
。
Rave Report 中可能出现这样的情况吗?
I have managed to design a report the way I want, but I am not able to get Rave Report to print/convert Grand total to Words.
For example, if the grand total is 1,200.00
it should only print One Thousand and Two Hundred
.
Is something like this possible in Rave Report?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我认为 Rave Reports 没有任何将数字转换为作品的内置功能。 但是,我找到了一篇文章,解释了 如何将数字(货币)转换为About.com 上的文字。
查看 NumberToWords 单元中的 ConvertToWords 函数。
您可以在运行时转换数字并将单词传递到报告。
编辑:
您可以像这样将参数传递给您的报告。
请参阅Rave 报告简介一文。
I do not think Rave Reports has any inbuilt function which converts numbers to works. However, I have found a article, which explains How to Convert Numbers (Currency) to Words, on About.com.
Have a look at the ConvertToWords function in the NumberToWords unit.
You could convert the number and pass the words to the report at runtime.
Edit:
You can pass parameters to your reports like this.
Have a look at the Introduction to Rave Reports article.