Factorial of Number

To calculate the factorial of a number multiply all of the numbers in the range from one to the number together.

Examples

Concept

Factorial | Operator

The factorial operator is represented using the exclamation mark. The operator is unary, meaning that it only operates on one expression. The operator is useful when calculating combinations and permutations.

Links