Hi All
I use perl template function to print the values in the html file.

In that I do a manipulation in percentage.

Line:

<td width="20%" height=1 bgcolor="[%BGCOLOR%]" valign="middle" align="left" 
class="bodytext"><b>[% (browserTotal / browserCount) * 100 %]</b></td>

i.e (browserTotal / browserCount) * 100  which is a percentage value...Say for 
example it 35.457565575

I just wanted it have in two decimal places...Like 35.46...I tried round, ceil 
, floor and all possible functions it is not working..Please help me in that.

Thanks
Anish


Reply via email to