fact - Maple Help

MapleTA[Builtin]

 fact
 factorial

 Calling Sequence fact(n)

Parameters

 n - numeric

Description

 • The fact command computes n!.
 • If n is not an integer returns fact(int(n)).
 • If n is negative, returns 1.

Examples

 > $\mathrm{MapleTA}:-\mathrm{Builtin}:-\mathrm{fact}\left(4\right)$
 ${24}$ (1)

Compatibility

 • The MapleTA[Builtin][fact] command was introduced in Maple 18.
 • For more information on Maple 18 changes, see Updates in Maple 18.