This topic is locked

Round avg in Report

7/30/2012 12:27:29 PM
PHPRunner General questions
S
Sitaraman author

Hi,
I need to round avg values in a report and don't want to display the fractional part. I tried the following

In the before display event of the report

$xt-> assign('var_name',round($xt->getvar('var_name')));



But nothing seem to happen. No errors and no change in the output as well.

Please help.
Regards

Sitaraman

S
Sitaraman author 8/3/2012

Hi
Anybody out there listening!!

Still not able to figure out how to do this. Any help suggestion would be appreciated.
Thanks and regards

Sitaraman

Sergey Kornilov admin 8/3/2012

Sitaraman,
if you have a valid support contract post your application to Demo Account and contact support directly sending the URL of your application there along with error description.

S
Sitaraman author 8/3/2012

Sergey,
We had purchased phprunner v.6 as part of a government contract and we were issued only with the username and key by the vendor. Since I don't have the order ID, I am not sure whether the support is valid or not. I will try and contact the vendor who supplied us the software and get in touch with support. Anyway thanks for your quick response.
Thanks and regards

Sitaraman