* Hann, Brian <Brian.Hann at umb.com> [2003-10-10 12:07]:
> I'm trying to do some rounding and I'm wondering if there's an easy way
> to assign the output of a FILTER to a variable.  This throws some
> errors:
> 
>     [% floor = FILTER('%.0f'); num; END %]

[% floor = num | format('%.0f') %]

(darren)

-- 
The death of democracy is not likely to be an assassination from
ambush. It will be a slow extinction from apathy, indifference,
and undernourishment.
    -- Robert Maynard Hutchins

Attachment: pgp00000.pgp
Description: PGP signature

Reply via email to