FACT

FACT('Node')

In Math & numeric

The FACT function returns the factorial of a number. The factorial of a number is equal to 1×2×3×…×number.

Use this function when you need to compute the factorial of node values, for example in combinatorial calculations or probability models.

Parameters

NodeNode referenceRequired
An input node with values to calculate factorial.

Watch out

  • Factorial cannot be computed on negative numbers.
  • The input cannot contain numbers larger than 20.
  • Any decimal number will be rounded to the smallest value, e.g. 3.725 → 3.

Example

Factorial of integer values

This example computes the factorial of each value in the input node.

Input node: 'Node'

YearValue
20250
20263
20275
20287

Formula: FACT('Node')

YearFACT Result
20251
20266
2027120
20285040
Was this page helpful?