Difference between revisions of "Factorial"
From SCAR Divi Manual
(Created page with "==Definition== <source lang="scar" lines="false"> function Factorial(i: Int64): Int64; </source> ==Availability== SCAR Divi 3.21 > Current ===Aliases=== *Fract (SCAR Divi 3.00 ...") |
(No difference)
|
Revision as of 23:16, 2 July 2011
Definition
function Factorial(i: Int64): Int64;
Availability
SCAR Divi 3.21 > Current
Aliases
- Fract (SCAR Divi 3.00 > Current)
Description
Returns the factorial of the value given by i.
Example
begin WriteLn(Factorial(10)); end.
Output:
3628800