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>
[EMAIL PROTECTED], [EMAIL PROTECTED]
/--------------------------------------\
| `long long long' is too long for GCC |
\--------------------------------------/
_______________________________________________
Zope maillist - [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
** No cross posts or HTML encoding! **
(Related lists -
http://lists.zope.org/mailman/listinfo/zope-announce
http://lists.zope.org/mailman/listinfo/zope-dev )