[Zope] Zope 2.6.1 changed default number format
Ed Crewe
Ed.Crewe@bristol.ac.uk
Mon, 3 Mar 2003 16:29:00 +0000 (GMT)
Hi,
Rather than do uneccesary work can I just enquire about
whether recent numeric handling changes in Zope 2.6.1 are intentional or
might they be reversed?
Zope 2.6.1 has changed the default dtml number display format from
integer to one decimal place floating point.
This breaks any sites that use dtml integer display.
Was this a deliberate change? If so what is the recommended solution for
replacing dtml such as <dtml-var link_id missing="0">
Should all dtml integer rendering be replaced with
<dtml-if "_.has_key('link_id')"><dtml-var link_id fmt="%i"><dtml-else>0</dtml-if>
or is there an economical way of displaying an integer in dtml?
Thanks,
Ed Crewe
__________________________________________________________________
Ed Crewe ( Web Developer - ID Group ) ed.crewe@bris.ac.uk
Institute for Learning and Research Technology ILRT
University of Bristol Information Services +44 117 9287083
8-10 Berkeley Square, Bristol, BS8 1HH http://www.ilrt.bris.ac.uk