[This is preliminary documentation and is subject to change.]

Calculates the factorial of a number.

Namespace:  BigNum
Assembly:  BigNum (in BigNum)
Version: 1.0.0.0

Syntax

C#
public static BigInt Factorial(
	ulong num
)
Visual Basic (Declaration)
Public Shared Function Factorial ( _
	num As ULong _
) As BigInt
Visual C++
public:
static BigInt^ Factorial(
	unsigned long long num
)

Parameters

num
Type: System..::.UInt64
The number to calculate the factorial for.

Return Value

The number’s factorial.

See Also