[Zope] How do I use the math module ?

Cornelis J. de Brabander brabander@fsw.LeidenUniv.nl
Tue, 28 Mar 2000 11:53:03 +0200


your code works for me. May be x and/or y are not the right type (strings?)

cb

> -----Original Message-----
>
> Hi,
>
> I have a simple question - how do I use the fmod function in the math
> module with dtml ?
>
> I've tried something like this(and a lot of variants):
>
> <dtml-if expr="_.math.fmod(x,y) == 0">
> 	do something
> </dtml-if>
>