[Templates] Assigning filter output
darren chamberlain
dlc@users.sourceforge.net
Fri, 10 Oct 2003 12:10:45 -0400
--tKy6e3LXpfmanBFM
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
* 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:
>=20
> [% floor =3D FILTER('%.0f'); num; END %]
[% floor =3D num | format('%.0f') %]
(darren)
--=20
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
--tKy6e3LXpfmanBFM
Content-Type: application/pgp-signature
Content-Disposition: inline
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (GNU/Linux)
Comment: This message is digitally signed and can be verified for authenticity.
iD8DBQE/htoFzsinjrVhZaoRAv5WAJoCrZ/GUI+GSydIkRN2Id/4hs6YFgCeOP0j
vsILH91jI6mcaTaCARoEB1I=
=zGQH
-----END PGP SIGNATURE-----
--tKy6e3LXpfmanBFM--