Upravit

Sdílet prostřednictvím


Functions.Factorial(Int32) Method

Definition

Calculates the factorial of a given natural number.

public static long Factorial (int n);
static member Factorial : int -> int64

Parameters

n
Int32

The number.

Returns

n!

Applies to