> 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
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
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:258587
Subscription: http://www.houseoffusion.com/groups/CF-Community/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.5