Sorry, James Ang had the best solution... see below :) - j
-----Original Message----- From: James Ang [mailto:[EMAIL PROTECTED]] Sent: Wednesday, February 20, 2002 5:11 PM To: CF-Talk Subject: RE: Invalid parser construct eror Angel, 5 is not a valid number. 0.5 is. You should use this: #Val(Val(SumTotals.RegTotal) + Val(SumTotals.OTTotal))# Instead of the inefficient and SLOW (corrected below): #Evaluate('#SumTotals.RegTotal# + #Val(SumTotals.OTTotal)#')# James. -----Original Message----- From: Angel Stewart [mailto:[EMAIL PROTECTED]] Sent: Wednesday, February 20, 2002 2:00 PM To: CF-Talk Subject: Invalid parser construct eror 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

