FACTORIAL
The FACTORIAL function returns an integer that is the factorial of
parameter-1. The function type is integer.
Syntax
FUNCTION FACTORIAL (parameter-1)
Parameters
parameter-1 Must be an integer greater than or equal to zero.
(The largest value parameter-1 can be is 20 in
order for the result to fit in 18 digits.)