Agreed, and of course the # aren't needed either. /charlie
> -----Original Message----- > From: Jim Davis [mailto:[EMAIL PROTECTED] > Sent: Saturday, June 07, 2003 4:47 PM > To: CF-Talk > Subject: RE: cf math ? > > > I'm a little confused here - why would you need the CFLOCK in this case? > It doesn't seem to be necessary to me. > > Jim Davis > President, http://www.depressedpress.com > Webmaster, http://www.firstnight.org > Webmaster, http://www.cfAdvocacy.org > Senior Consultant, http://www.metlife.com > > > > -----Original Message----- > > From: Tony Gruen [mailto:[EMAIL PROTECTED] > > Sent: Saturday, June 07, 2003 4:22 PM > > To: CF-Talk > > Subject: RE: cf math ? > > > > This should get you on your way... > > -------------------------------------------------- > > <CFLOCK timeout="4"> > > <CFSET A = 5> > > <CFSET B = 3> > > <CFSET D = 800> > > <CFSET C = ((#A# * #A#) * #B#) / #D#> > > </CFLOCK> > > <html> > > <head> > > <title>Simple Math</title> > > </head> > > <body> > > <cfoutput>#NumberFormat(C, '_____.__')#</cfoutput> > > </body> > > </html> > > > > -----Original Message----- > > From: Dave Lyons [mailto:[EMAIL PROTECTED] > > Sent: Saturday, June 07, 2003 12:34 PM > > To: CF-Talk > > Subject: cf math ? > > > > > > i havent got to math functions yet but how would i do this in cf? > > > > > > ((variableA x variableA) x variableB) / 800 = variableC > > > > thanks > > > > > > > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq This list and all House of Fusion resources hosted by CFHosting.com. The place for dependable ColdFusion Hosting. http://www.cfhosting.com Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

