Difference between revisions of "Factorial"

From SCAR Divi Manual
Jump to: navigation, search
(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 ...")
 
(Redirected page to Fact)
Line 1: Line 1:
==Definition==
+
#REDIRECT [[Fact]]
<source lang="scar" lines="false">
 
function Factorial(i: Int64): Int64;
 
</source>
 
 
 
==Availability==
 
SCAR Divi 3.21 > Current
 
 
 
===Aliases===
 
*Fract (SCAR Divi 3.00 > Current)
 
 
 
==Description==
 
Returns the [http://en.wikipedia.org/wiki/Factorial factorial] of the value given by '''i'''.
 
 
 
==Example==
 
<source lang="scar">
 
begin
 
  WriteLn(Factorial(10));
 
end.
 
</source>
 
 
 
Output:
 
3628800
 
 
 
==See Also==
 
*[[BinCoe]]
 
  
 
[[Category:Functions]]
 
[[Category:Functions]]
 
[[Category:Math Functions]]
 
[[Category:Math Functions]]

Revision as of 13:24, 3 July 2011

Redirect to: