Page 1 of 2

Convert currency to words in English and Tranditional Chinese

Posted: Wed Jun 20, 2012 12:19 pm
by Super Bread
Hi,

Please help.

1. I want to convert this currency (1200.34) to "One thousand two hundred dollars and thirty four cents". How can I do that? I set the follows in my report.
{ToCurrencyWords(1200.34,true,true)}
But, it showed "One thousand two hundred dollars and zero cents". Is it bug?

2. Can this function "ToCurrencyWords" convert in Tranditional Chinese word?

3. How can set this format from 1200.3 to 1,200.30 (with group separator "," and 2 decimal places) in Expression?

4. I cannot find the details examples for above functions and other functions in the report designer. How can I get the details examples?

Thanks.

Convert currency to words in English and Tranditional Chinese

Posted: Thu Jun 21, 2012 9:20 am
by Vladimir
Hello,

1. Yes, it is an error. We will try to fix it in the next prerelease build.

2. Unfortunately, "ToCurrencyWords" function not available for the Tranditional Chinese.

3. You can use this expression: {(1200.3).ToString("#,###.00")}

4. Description of all functions can be found in the documentation.

Thank you.

Convert currency to words in English and Tranditional Chinese

Posted: Thu Jun 21, 2012 11:06 am
by Super Bread
Hello,

3. It does not work.
{(1200.3).ToString("#,###.00")} --> It shows "1200.3". Is it another bug?

Convert currency to words in English and Tranditional Chinese

Posted: Fri Jun 22, 2012 2:01 am
by Vladimir
Hello,

Please update to the latest prerelease build.

Thank you.

Convert currency to words in English and Tranditional Chinese

Posted: Sat Jun 23, 2012 11:39 am
by Super Bread
Hello,

After updated to the latest prerelease build (Stimulsoft Reports.Fx for PHP 2012.06.22 Trial ), it showed error when running from php.


1. Error: "Warning: gzuncompress() [function.gzuncompress]: data error "

2. And got the error# 1088.

Please help. Thanks.

Convert currency to words in English and Tranditional Chinese

Posted: Mon Jun 25, 2012 9:59 am
by Vladimir
Hello,

Please try to update all files (PHP and SWF) from the archive, as well as clear the browser cache. If this does not help - try to disable data compression. To do this, set the $enable_compression property to false, it is in the index.php file.

Thank you.

Convert currency to words in English and Tranditional Chinese

Posted: Mon Jun 25, 2012 11:40 am
by Super Bread
Hello,

I already updated all files (PHP and SWF) from the archieve and also clear the browser cache. Then, set "$enable_compression = false;" in the index.php file. But it showed "Connection error: Data not found".

Thanks.

Convert currency to words in English and Tranditional Chinese

Posted: Tue Jun 26, 2012 3:49 am
by Vladimir
Hello,

Please do the following steps:

1. In the 'config.xml' file the EnableDataLogger option set to True in Connection section.
2. Run the report viewer (or report designer) with report.
3. Click on the 'Save Log File' button in the viewer's save menu (or designer's main menu).
4. Save the text file and send it to us for analysis.

Thank you.

Convert currency to words in English and Tranditional Chinese

Posted: Tue Jun 26, 2012 10:54 am
by Super Bread
Hello,

After set to True in EnableDataLogger and run the report. I cannot find 'Save Log File' button in the viewer's save menu. Am I missing the steps? Please help. Thanks.

Convert currency to words in English and Tranditional Chinese

Posted: Tue Jun 26, 2012 9:43 pm
by Super Bread
Hello,

The log file is attached. Thanks.