Nóta
Teastaíonn údarú chun rochtain a fháil ar an leathanach seo. Is féidir leat triail a bhaint as shíniú isteach nó eolairí a athrú.
Teastaíonn údarú chun rochtain a fháil ar an leathanach seo. Is féidir leat triail a bhaint as eolairí a athrú.
Fully qualified name: Std.Math.FactorialI
function FactorialI(n : Int) : Int
Summary
Returns the factorial of a given number.
Description
Returns the factorial of a given nonnegative integer n, where 0 ≤ n ≤ 20.
Input
n
The number to take the factorial of.
Output
The factorial of n.
Remarks
For inputs greater than 20, please use Std.Math.FactorialL.