|
fact
|
The fact function determines the factorial of the value specified in the
argument {num}. The factorial of a number is the product of multiplying integers
from 1 up to (and including) the specified number. The mathematical formula for
factorials is represented as N!=1 * 2 * 3...*N. When to use The fact function is used to compute the factorial of a number.
(fact num) The computed factorial. Always in Integer form.
Here are a number of links to Lambda coding examples which contain this instruction in various use cases.
The fact function returns the factorial of a Number.
Here are the links to the data types of the function arguments. Here are also a number of links to functions having arguments with any of these data types.
You can always talk with the AIS at aiserver.sourceforge.net.
Name
Description
AIS Types num The number to be factored Number
Returns:
Examples
Argument Types
Number
Integer
How do I contact the AIS team?