Categories
- All Categories
- 15 Oracle Analytics Sharing Center
- 14 Oracle Analytics Lounge
- 211 Oracle Analytics News
- 41 Oracle Analytics Videos
- 15.7K Oracle Analytics Forums
- 6.1K Oracle Analytics Idea Labs
- Oracle Analytics User Groups
- 77 Oracle Analytics Trainings
- 14 Oracle Analytics Data Visualizations Challenge
- Find Partners
- For Partners
Number to word conversion in RTF Template

Summary
Number to word conversion in RTF Template
Content
Hi,
In a rtf template i am doing a running total, after the running total i want to show that amount in words for this i have used the below statement then it is showing in words, but i have a requirement is like before it need to show as 'Rupees' and after to show as 'only' but it is not coming. Please advise me how to do this in the rtf level only.
<?xdoxslt: toWordsAmt(xdoxslt:get_variable($_XDOCTX,'RUNTOT'))?>
For example: if running total is 10190.00 then its coming like Ten thousand one hundred and ninety
My requirement is
Rupees Ten Thousand One Hundred and Ninety only
Answers
-
Please let me know, is there any other approach to show it, because i am generating a running total in the rtf level and the xml tags are generating basing on Data Template Query based.
0 -
Isn't it possible to add it as a static text?
0 -
Cannot you write like
Rupees <?xdoxslt: toWordsAmt(xdoxslt:get_variable($_XDOCTX,'RUNTOT'))?> only.
If Rupees are coming dynamically means sometime you need to print Dollar or respective currency then you can generate the tag in XML based on currency code and you can use to your rtf.
0 -
Hi,
You can simply hardcode the only value at the end it would work.
Or if you are facing issue with respect to null value then you can write a condition clause and try out that.
Thanks.
0