Factorial function, DON'T FEED ME WITH LARGE NUMBERS !!! (n>10 can be huge)

Namespace: VVVV.Utils.VMath
Assembly: VVVV.Utils (in VVVV.Utils.dll) Version: 1.0.4694.10871

Syntax

C#
public static int Factorial(
	int n
)

Parameters

n
Type: System..::..Int32

[Missing <param name="n"/> documentation for "M:VVVV.Utils.VMath.VMath.Factorial(System.Int32)"]

Return Value

The product n * n-1 * n-2 * n-3 * .. * 3 * 2 * 1

See Also