Matthews Simon wrote:
> [% number = 1.2345 %]
> [% number | format('%.2f') %]

You can also use the format plugin to create your own inline formatting
subroutines:

  [% USE money=format('%.2f') %]
  [% money(1.1234) %]

A


_______________________________________________
templates mailing list
[EMAIL PROTECTED]
http://lists.template-toolkit.org/mailman/listinfo/templates

Reply via email to