[Zope] Problem with <DTML-CALL>

Tim Gildersleeve t.gildersleeve@bilk.ac.uk
Thu, 5 Oct 2000 16:56:32 +0100


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 tim@otcs-online.net as well as the list as I dont get the
time to search through the list every day.

Cheers

Tim Gildersleeve
tim@otcs-online.net