User Tools

Site Tools

Navigation:  Templates > Guide to all Templates > Additional Libraries and Templates > Statistics Library >====== FACTORIAL (factorial of a number) ====== Previous pageReturn to chapter overviewNext page



FACTORIAL Computes the factorial of a number.
number A numeric constant or variable containing a positive integer value.

The FACTORIAL function implements the standard factorial formula. For example, if the number provided is 5 then the function returns the value of: (1 x 2 x 3 x 4 x 5) = 120.

Return DataType:     REAL


X = 5

FactorialOfX = FACTORIAL(X)     !call FACTORIAL

factorial_factorial_of_a_number_.htm.txt · Last modified: 2021/04/15 15:57 by