Tuesday 03 January 2006 4:56:52 am
The code in: design/standard/templates/content/datatype/result/count/ezoption.tpl
is displaying:
Answer to the pull: YES:
7 / 77,777777777778%
Answer to the pull: NO:
2 / 22,222222222222%
These numbers represent the $total_count
I want to only get two decimals..how is it possible to achieve this in eZ publish? I can't fint any operator for this.. {$:item_count} / <i>{div(mul($:item_count,100),$total_count)}%</i>
|