<cfset TheResult = (a/b) * 100>

Ta Da! ;-)

Bryan Stevenson B.Comm.
VP & Director of E-Commerce Development
Electric Edge Systems Group Inc.
t. 250.920.8830
e. [EMAIL PROTECTED]

  ----- Original Message -----
  From: techmike
  To: CF-Talk
  Sent: Monday, July 19, 2004 8:33 AM
  Subject: cfset and figuring percentages..

  Okay, I'm familier with doing simple math with cfset but how can I find a
  percentage with it?

  Or is there a better way?

  I just need to figure what percentage varible a is of variable b..

  -mike
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]

Reply via email to