Parameter List
Syntax
FACT(number)
number
A non-negative integer to calculate the factorial for. For example: 5
, 0
, A1
. Must be ≥ 0 and ≤ 170.
More details
FACT calculates n! (n factorial) where n is a non-negative integer. The factorial of n is the product of all positive integers from 1 to n. By mathematical convention, 0! = 1. Decimal portions are truncated. Negative numbers return #NUM! error. The maximum value is 170! due to floating-point precision limits.