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 ...")
 
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
==Definition==
+
#REDIRECT [[Fact]]
<source lang="scar" lines="false">
 
function Factorial(i: Int64): Int64;
 
</source>
 
  
==Availability==
+
[[Category:Deprecated Functions]]
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:Math Functions]]
 

Latest revision as of 11:17, 21 October 2011

Redirect to: