[Zope] sum() produces floats not integers

Chris Withers chrisw at nipltd.com
Wed Sep 17 08:03:39 EDT 2003


Try this:

> PageTemplate
> <TR bgcolor="#333333" tal:repeat="charts
> here/getChartsMethod"> 
> <span TAL:replace="charts/title">Title</span>
> <span TAL:replace="python python:'%0.f' % charts.plays">Plays</span> </TR>

cheers,

Chris




More information about the Zope mailing list