Discussions
Categories
Groups
Community Home
Categories
INTERNAL ENABLEMENT
POPULAR
THRUST SERVICES & TOOLS
CLOUD EDITIONS
Quick Links
MY LINKS
HELPFUL TIPS
Back to website
Home
Intelligence (Analytics)
Convert number to word representation
strikenoir
Hi fellow coder
I'm very new to BIRT. I know that BIRT is a very powerful reporting tools, so I think this is very do-able in BIRT.
But the problem is I don't know where to put the Convert code. Now I'm sure that this has been done before, and I wish anyone would be kind enough to give some pointer in doing this.
*
what I want is something like
100 convert to "one hundred"
10 convert to "ten"
thats all
Find more posts tagged with
Comments
mwilliams
Hi strikenoir,
You could do the conversion in the script of BIRT or you could create an external class file to use within BIRT to convert the values.
strikenoir
Hi mwilliams
Thank you for the pointer. Is there a sample on how to modify data set using script?
(Am I guessing right here? modify data set)
mwilliams
strikenoir,
You could use your code in the expression builder for a new computed column in your dataSet or in a new binding added to your table. Those are the two places I would most likely assume to use your code in. Do you already have the function created in an external class file?
strikenoir
Dear Michael
I didn't know how to change the data set string appearance
, but now I know
By changing displayString = "fill this with string"; in the expression editor.
Anyway thank you for the answers.
BIRT is very good reporting tool