Factorial
- 27 May 2022
- 1 Minute to read
- DarkLight
- PDF
Factorial
- Updated on 27 May 2022
- 1 Minute to read
- DarkLight
- PDF
Article Summary
Returns the factorial of the given number, i.e. value of the mathematical notation _n!_.
Function signature
FACTORIAL(number: Number) => Number
Parameter | Description |
---|---|
Number | Number to calculate factorial |
Examples
Formula | Return value |
---|---|
FACTORIAL(1) | 1 |
FACTORIAL(4) | 24 |
FACTORIAL(0) | 1 |
Was this article helpful?