Chapter 9
|
Number functions 147
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.
Floor
Format
Floor(number)
Parameter
number - any numeric expression or field containing a numeric expression
Data type returned
number
Description
Returns number rounded down to the next lower integer.
Examples
Floor(1.25) returns 1.
Floor(-1.25) returns -2.
Int
Format
Int(number)
Factorial n() nn 1–()n2–()…1()=
Factorial n;i() nn1–()n2–()…ni– 1+()=
Commentaires sur ces manuels