[Zope] Lines Property and special namespace variable
Aleksander Salwa
ololo@zeus.polsl.gliwice.pl
Sat, 13 Jan 2001 22:07:33 +0100 (CET)
On Sat, 13 Jan 2001, Tom Scheidt wrote:
> Im trying to changes the contents of a lines property
> into floating point numbers a la:
>
> <dtml-in lines>
> <dtml-let "_.float(lines)">
> <dtml-if "lines > 0"><font color="#006600"></dtml-if>
> <dtml-var sequence-item>
> </dtml-in>
>
> The contents of the lines property are:
> 25.32
> -16.50
<dtml-in lines>
<dtml-let float_seq_item="_.float(_['sequence-item'])">
<dtml-if "float_seq_item>0"><font color="#006600"></dtml-if>
<dtml-var sequence-item>
<dtml-if "float_seq_item>0"></font></dtml-if>
</dtml-let>
</dtml-in>
ololo@zeus.polsl.gliwice.pl, oleks@helper.pl
/--------------------------------------\
| `long long long' is too long for GCC |
\--------------------------------------/