API:func Factorial

Description: func_Factorial(int) Performs the Factorial math function ie. ! on int.
Input -
 int = number 
----
Output -
 number
 Negative numbers returns 1. Positive number returns Factorial result. Decimal returns Round down whole number.
Example:
 /script DEFAULT_CHAT_FRAME:AddMessage(func_Factorial(3))
--Qaz1qaz1qa 14:45, 18 November 2009 (UTC)
Category:Functions