[Zope] type conversion required?

Graham Chiu anon_emouse@hotmail.com
Thu, 1 Jul 1999 22:52:58 +1200


I would like to save the html product of a database query for subsequent
recall.

If I have something like this:

<!--#in sqlMethod-->
  <!--#call "REQUEST.set('htmlString',htmlString+PRICE+'</td><td>'+DESCR
IPTION+'</td><td>)"-->
<!--#/in-->

where PRICE is a numeric field from the database, then I get a typeError
- presumably because PRICE is numeric and the others are text.

How do I convert PRICE into a string to avoid this problem?

-------
Regards,        Graham Chiu
gchiu<at>compkarori.co.nz