Unless there is a good cfm editor for linux, I'm stuck with VI.. :(
-mike
-----Original Message-----
From: "Bryan Stevenson" <[EMAIL PROTECTED]>
To: CF-Talk <[EMAIL PROTECTED]>
Date: Mon, 19 Jul 2004 09:32:38 -0700
Subject: Re: cfset and figuring percentages..
> From the docs ;-)
>
> Round(number)
> Description
> Rounds a number to the closest integer.
>
>
>
> MIke...if you're using CF Studio/Homesite/probably Dreamweaver has them
> too...there are docs that list by categories (like Math) the large list
> of CF functions...good read...hehe
>
> Cheers
>
>
> 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 9:17 AM
> Subject: Re: cfset and figuring percentages..
>
>
> Well, pretty much what I was doing with two lines.. :) Thanks
>
> Now, this brings up another noobish question.. How does one round to
> the
> nearest decimal place?
>
> -Mike
>
> -----Original Message-----
> From: "Bryan Stevenson" <[EMAIL PROTECTED]>
> To: CF-Talk <[EMAIL PROTECTED]>
> Date: Mon, 19 Jul 2004 08:42:43 -0700
> Subject: Re: cfset and figuring percentages..
>
> > <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]