why not just <CFSET myvalue = Grandtotal * 0.55>
<CFOUTPUT>#myvalue#</CFOUTPUT> ? christopher olive cto, vp of web development, vp it security atnet solutions, inc. 410.931.4092 http://www.atnetsolutions.com -----Original Message----- From: Angel Stewart [mailto:[EMAIL PROTECTED]] Sent: Monday, March 18, 2002 5:30 PM To: CF-Community Subject: RE: Quick question.. I tried it again and it still throws an error. And I really have to finish this bit of code up tonight. *sigh* Any ideas? Please? Error Diagnostic Information An error occurred while evaluating the expression: #evaluate("#GrandTotal# * 0.55")# Error near line 142, column 73. ------------------------------------------------------------------------ -------- An error has occurred while processing the expression: * 0.55 Invalid parser construct found on line 1 at position 2. ColdFusion was looking at the following text: * Invalid expression format. The usual cause is an error in the expression structure. The error occurred while processing an element with a general identifier of (#evaluate("#GrandTotal# * 0.55")#), occupying document position (142:72) to (142:104). -----Original Message----- From: Todd [mailto:[EMAIL PROTECTED]] Sent: Monday, March 18, 2002 6:09 PM To: CF-Community Subject: Re: Quick question.. by putting " " around it, you are making "#GrandTotal# * 0.55" a string. Try removing the quotes. Todd Is the line monster back, or did you forget to paste the error? :) ----- Original Message ----- From: "Angel Stewart" <[EMAIL PROTECTED]> To: "CF-Community" <[EMAIL PROTECTED]> Sent: Monday, March 18, 2002 5:04 PM Subject: Quick question.. > Can anyone tell me what is wrong with this statement? > I'm damned tired. *sigh*. > > <CFOUTPUT>#evaluate("#GrandTotal# * 0.55")#</CFOUTPUT> > > It throws this error: ______________________________________________________________________ This list and all House of Fusion resources hosted by CFHosting.com. The place for dependable ColdFusion Hosting. Archives: http://www.mail-archive.com/[email protected]/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
