Math rocks....and so does this list.

On Wed, Apr 16, 2008 at 11:07 AM, Ian Skinner <[EMAIL PROTECTED]> wrote:

> James Smith wrote:
> >>  I don't know if CF has a factorial function, but one would be very
> easy to
> >>  write.
> >>
> >
> > function Factorial(integer){
> >   Var TheFactorial=1;
> >   while (integer GT 0) {
> >     TheFactorial = TheFactorial*integer;
> >      integer = integer-1;
> >   }
> >   Return TheFactorial;
> > }
> >
> > --
> > Jay
>
> Thanks Jay.
>
> I was just practicing the combination formula with a calculator to make
> sure I understood it before I tackled creating an CFML version and here
> is one all ready to go.
>
> Cool!
>
>
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;192386516;25150098;k

Archive: 
http://www.houseoffusion.com/groups/CF-Community/message.cfm/messageid:258614
Subscription: http://www.houseoffusion.com/groups/CF-Community/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.5

Reply via email to