SAS 9.1 Language Reference Dictionary, Volumes 1, 2 and 3

Computes a factorial

Category: Mathematical

Syntax

FACT ( n )

Arguments

n

Details

The mathematical representation of the FACT function is given by the following equation:

with n ‰ 0.

If the expression cannot be computed, a missing value is returned.

Examples

SAS Statements

Results

x=fact(5);

120

See Also

Functions:

Категории