S
|
StefanoF author 11/16/2012 |
Hi. I'm using PHPRunner 6.2. In my project I have a Page List representing monthly costs on different activities, for a whole year. Depending on the type of cost, the value must be expressed in Hours or K€. So far I have solved it by defining custom fields, for each month, with the following code : if ($data["Tipo"]=="MDOi" || $data["Tipo"]=="MDOe") $value = ceil($data["B_GEN"]); else $value = number_format($data["B_GEN"],2,',','.'); The problem is that the code is not working on column total(generated by phprunner) as it shows always 2 decimal places. Any suggestions ? Thanks. Stefano
|