RE: [Zope-dev] FYI: Zope 2.6.1 beta 1 today...
On Wednesday 10 December 2003 07:01 am PDT, Brian Lloyd wrote:
We will be having a "bug day" next Tuesday, and the goal will be that those fixes will also go into the Zope-2_6-branch to be included in a 2.6.1 beta 2 to be release hopefully around the end of next week.
In the original bug day announce, Chris McDonough said the bug day would be on Monday, December 16, not on Tuesday as you say. Could you please clarify on which day it is?
Sorry - my bad. It is Monday, as Chris said. Brian Lloyd brian@zope.com V.P. Engineering 540.361.1716 Zope Corporation http://www.zope.com
To anyone who may be able to help, I need to calculate the distance between two zip codes and all is working except for the square root part. I have been trying to use <dtml-var expr="_.sqrt(x)"> to get the square root of x. But it does not work and reports an attribute error. I have used the _.int(x) with no problem and dis notice the sqrt() is in the Math Library. Is there additional syntax to access this function? I searched and googled and found everything but an example in DTML of how to use sqrt(). Thanks, Richard
Hi Richard, --On Donnerstag, 12. Dezember 2002 13:04 -0500 Richard Shebora <richard@apogaion.com> wrote:
To anyone who may be able to help,
I need to calculate the distance between two zip codes and all is working except for the square root part.
I have been trying to use
<dtml-var expr="_.sqrt(x)">
to get the square root of x. But it does not work and reports an attribute error. I have used the _.int(x) with no problem and dis notice the sqrt() is in the Math Library. Is there additional syntax to access this function? I searched and googled and found everything but an example in DTML of how to use sqrt().
See http://www.zope.org/Documentation/Books/ZopeBook/2_6Edition/AppendixA.stx especially the part about "modules" in DTML its just _.math.sqrt(x) in Python Scripts: import math math.sqrt(x) Regards Tino
participants (3)
-
Brian Lloyd -
Richard Shebora -
Tino Wildenhain