Did you try to make "#GrandTotal# * 0.55" it's own variable and then reference that 
variable in the evaluate function call?  That might do it for you.

<cfset tempVar = "#GrandTotal# * 0.55">
#Evaluate("tempVar")#


Michael Corrigan
Programmer
Endora Digital Solutions
1900 Highland Avenue, Suite 200
Lombard, IL 60148
630-627-5055 ext.-136
630/627-5255 Fax
  ----- Original Message ----- 
  From: Angel Stewart 
  To: CF-Community 
  Sent: Monday, March 18, 2002 4:29 PM
  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:

  
______________________________________________________________________
Your ad could be here. Monies from ads go to support these lists and provide more 
resources for the community. http://www.fusionauthority.com/ads.cfm

Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to