No that's incorrect.. no quotes #Evaluate(SumTotals.RegTotal + SumTotals.OTTotal)#
the problem however is that the value is not numeric. Check how you are getting the value .5 It is obviously not calculated in the template, so an easy way to fix this is make sure the data types presenting the values are numeric. e.g make the data type float if you are using SQL server Also use the IsNumeric function on the values. -j -----Original Message----- From: Brendan Avery [mailto:[EMAIL PROTECTED]] Sent: Wednesday, February 20, 2002 5:18 PM To: CF-Talk Subject: RE: Invalid parser construct eror No actually, keep the single quotes. > -----Original Message----- > From: James Curran [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, February 20, 2002 14:12 > To: CF-Talk > Subject: RE: Invalid parser construct eror > > > And the single quotes. > > #Evaluate(SumTotals.RegTotal + SumTotals.OTTotal)# > > - j > > -----Original Message----- > From: Jerry Johnson [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, February 20, 2002 5:06 PM > To: CF-Talk > Subject: Re: Invalid parser construct eror > > > Get rid of the ## inside the evaluate. > > Jerry > > >>> [EMAIL PROTECTED] 02/20/02 04:59PM >>> > Hey all, > > Is there any reason why this error would occur with the > following code? > > An error occurred while evaluating the expression: > > > #Evaluate('#SumTotals.RegTotal# + #SumTotals.OTTotal#')# > > > > Error near line 303, column 185. > -------------------------------------------------------------- > ---------- > -------- > > An error has occurred while processing the expression: > > 88 + .5 > > > Invalid parser construct found on line 1 at position 6. ColdFusion was > looking at the following text: > > . > > ------------------------------------ > > IS there a problem with my evaluate statement? > > -Gel > > > ______________________________________________________________________ Get Your Own Dedicated Windows 2000 Server PIII 800 / 256 MB RAM / 40 GB HD / 20 GB MO/XFER Instant Activation � $99/Month � Free Setup http://www.pennyhost.com/redirect.cfm?adcode=coldfusionb FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/[email protected]/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

