Functions Reference

Table Of Contents
Number functions
F
ILEMAKER PRO FUNCTIONS REFERENCE 258
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 repre
sents how
many factors to include in the multiplication.
Parameters in braces { } are opt
ional.
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:
Factorial n() nn 1()n2()1()=
Factorial n;i() nn 1()n2()ni 1+()=
Examples
Factorial(3) returns 6, which = 3 * 2 * 1.
Factorial(10;3) returns 72
0, which = 10 * 9 * 8.