完整名稱:Std.Math.FactorialI
function FactorialI(n : Int) : Int
總結
傳回指定數位的乘積。
描述
傳回指定非負整數 n 的因數,其中 0 ≤ n ≤ 20。
輸入
n
要採用因數的數位。
輸出
n
的因數。
言論
針對大於 20 的輸入,請使用 Std.Math.FactorialL
。
完整名稱:Std.Math.FactorialI
function FactorialI(n : Int) : Int
傳回指定數位的乘積。
傳回指定非負整數 n 的因數,其中 0 ≤ n ≤ 20。
要採用因數的數位。
n
的因數。
針對大於 20 的輸入,請使用 Std.Math.FactorialL
。