![]() |
Next Page |
| Contents > Functions reference (alphabetical list) > Number functions > Factorial function |
|
|
| Factorial function |
| Format |
Factorial(number{;numberOfFactors}) |
| Parameters |
| number - numeric expression or field containing a positive integer. |
| numberOfFactors - any numeric expression or field containing a number that represents how many factors to include in the multiplication. |
| Parameters in curly braces { } are optional. |
| Data type returned |
| number |
| Description |
| Returns the factorial of number stopping at 1, or stopping at the optional numberOfFactors. Useful in statistics and combinatorics. |
| Where n = number and i = numberOfFactors: |
| Examples |
| Factorial(3) returns 6, which = 3 * 2 * 1. |
| Factorial(10;3) returns 720, which = 10 * 9 * 8. |
| Related topics |
| Functions reference (category list) |
| Functions reference (alphabetical list) |
| About formulas |
| About functions |
| Defining calculation fields |
| Using operators in formulas |
|
|
| Contents > Functions reference (alphabetical list) > Number functions > Factorial function | Next Page |