[Zope] DTML Mistotals

Clint Shelby McCulloch csm@io.com
Wed, 1 Mar 2000 10:43:39 -0600 (EST)


Hi:

I've been using DTML successfully to generate around 20+ reports outside
of zope itself.  The result come back from the DB as a pdf document.  The
solution has worked well.

It looks like there might possibly be a bug in the dtml totalling process,
however, when dealing with larger numbers.  The results on one report are
accurate for a 20 row table with smaller totals (say, e.g., 51518), but
the larger totals are incorrect (e.g., it reports a number say in the
300,000 range rather than 1,378,835).  The DTML for that column (the TOTAL
column) is: 

<!--#var total-TOTAL fmt="%15d"-->

Has anyone else seen this? The version of DTML I'm using is from the last
quarter or so of last year.  Any ideas?