NumberToWord

Stimulsoft Reports.PHP discussion
Post Reply
tony.tomov
Posts: 72
Joined: Mon Jun 07, 2010 2:39 am

NumberToWord

Post by tony.tomov »

Hello,
First of all thanks for the last release. Has a lot of my wishes.

Here is a another request:
I want to print a Invoice in my native language (not English).
There is requirement to convert the sum of the invoice to words.
I have try some of the build in functions, but they seems not to work.
Also I have my Own PHP class (function) which do this.
Any hint / recommendations / solutions how to solve this problem will be great.

Kind Regards
and thanks for the great product

Tony
Andrew
Posts: 4107
Joined: Fri Jun 09, 2006 3:58 am

NumberToWord

Post by Andrew »

Hello,

On the current moment, the translation of NumberToWord functions is not implemented. You can use variables in the report, and fill them from the PHP server as parameters. But unfortunately, it will not be able to pass an array for a particular variable, only one value for each variable.

Thank you.
tony.tomov
Posts: 72
Joined: Mon Jun 07, 2010 2:39 am

NumberToWord

Post by tony.tomov »

Hello,
Thank you very much for the replay.
I'm not sure I understand what you mean.
It will be good if you put a example of this approach.

Kind Regards
Tony


P.S Just a Idea: What you think about to execute a PHP function for some variable with in the report?
-i.e set the function in the property editor and when the report render to execute it
so many times depending on the band



Vladimir
Posts: 1462
Joined: Fri Apr 13, 2007 4:05 am
Location: Earth

NumberToWord

Post by Vladimir »

Hello,

You can see an example of working with variables in a report in the QuickStart guide, which is included with version 2010.3 of our product.

set the function in the property editor and when the report render to execute it so many times depending on the band
We think about implementing such functionality.

Thank you.
Post Reply