Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Fast Library For Clipper 3.02 Reference - <b>factorial()</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
    Factorial()

         Returns a number factorial

    Syntax:

         Factorial( nNumber ) -> nFactorial

         nNumber : The number to calculate the factorial from.

    Description:

         Calculates a number factorial that has to be 0 or bigger than 0.

    Return:

         The specified number factorial or Nil if negative number.

    Example:

         Factorial( 4 )    //  24

See Also: Exponent() Sum()

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson