[Zope] Remove decimal point from ZSQL query

Mehmet Yousouf mehmety@optushome.com.au
Fri, 4 Jan 2002 08:01:06 +1100


One of those days... sorry, solved it myself :  

<dtml-var expr="_.int(totalc)">


Regards, Mehmet
On Friday 04 January 2002 07:26 am, you wrote:
> Hi,
> I've got a ZSQL query     e.g. sum(quantitya+quantityb) as totalc
> from..........
> The result is stated in the form xx.0, how do I get rid of the .0?
>
> Regards, Mehmet