## MathGenie

# factorial, !

Factorial of input

### Syntax and Description

factorial(n) | returns the product of all positive integers less than or equal to n, where n is a nonnegative integer value. If n is an array, then f contains the factorial of each value of n. The data type and size of f is the same as that of n. |

n! | is the same as factorial(n). |