Functions Reference

Table Of Contents
Number functions
F
ILEMAKER FUNCTIONS REFERENCE 266
Factorial
Purpose
Returns the factorial of a number, stopping at 1 or at the optional numberOfFactors.
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 braces { } are optional.
Data type returned
number
Originated in
FileMaker Pro 7.0
Description
This function is 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.
Factorial n() nn 1n21=
Factorial n;i() nn 1n2ni 1+=