t: Tuesday, May 16, 2000 2:03 PM
Subject: RE: Am I missing something? Calculations...
Um, no, don't use evaluate...
Look at the CF math functions (Functions, not Tags!)
cfset A = 3
cfset B = 7
cfset C = A / B
cfoutput
br A / B = #C#
/cfoutput
HT
-Original Message-
From: Josh Black [SMTP:[EMAIL PROTECTED]]
Sent: Tuesday, May 16, 2000 5:11 PM
To: [EMAIL PROTECTED]
Subject: Re: Am I missing something? Calculations...
Why is it bad to use Evaluate() for math calculations? Is it just a speed
issue from having
Ok i figured it out, use the evaluate tag...
Kelly
-Original Message-
From: Kelly Matthews [SMTP:[EMAIL PROTECTED]]
Sent: Tuesday, May 16, 2000 2:11 PM
To: '[EMAIL PROTECTED]'
Subject: Am I missing something? Calculations...
Ok I must be missing something I have not had to
Um, no, don't use evaluate...
Look at the CF math functions (Functions, not Tags!)
cfset A = 3
cfset B = 7
cfset C = A / B
cfoutput
br A / B = #C#
/cfoutput
HTH
Dick
At 2:23 PM -0400 5/16/2000, Kelly Matthews wrote:
Ok i figured it out, use the evaluate tag...
Kelly
00 2:03 PM
Subject: RE: Am I missing something? Calculations...
Um, no, don't use evaluate...
Look at the CF math functions (Functions, not Tags!)
cfset A = 3
cfset B = 7
cfset C = A / B
cfoutput
br A / B = #C#
/cfoutput
HTH
Dick
At 2:23 PM -0400 5/16/2
, ".99")#
/cfoutput
Try it out!
-Original Message-
From: Dick Applebaum [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, May 16, 2000 4:03 PM
To: [EMAIL PROTECTED]
Subject: RE: Am I missing something? Calculations...
Um, no, don't use evaluate...
Look at the CF math functions
Then I want to do the same thing but take airport1.fielda and
airport2.fielda and to the
AVERAGE of the 2. Meaning airport1.fielda * airport2.fielda / 2.
Wouldn't the average be the two values ADDED not multiplied?
But yes, Evaluate should work fine for this.
7 matches
Mail list logo