Hi

I am trying to get a <DTML-CALL..... to work, but am having a strange
problem.

The line is

        <dtml-call "REQUEST.set('TOTALDEVIATION',fSTART)">

I am trying to create a variable called TOTALDEVIATION and assign the value
of fSTART (passed through the documents POST or GET value).

If I do        
        <dtml-call "REQUEST.set('TOTALDEVIATION',0)">

there is no problem, but with the first one, i get 

Error Type: TypeError
Error Value: number coercion failed

Now, I am assuming (I could be wrong) that this is a problem with the type
of the variable - it needs to handle floating point numbers such as 1.25 or
5.75 etc. 

Anyone have any idea - this has really got me stumpped.

Please reply to [EMAIL PROTECTED] as well as the list as I dont get the
time to search through the list every day.

Cheers

Tim Gildersleeve
[EMAIL PROTECTED]

_______________________________________________
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )

Reply via email to