Factorial

From SCAR Divi Manual
Revision as of 23:16, 2 July 2011 by Freddy (talk | contribs) (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 ...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

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

See Also