Difference between revisions of "Fact"

From SCAR Divi Manual
Jump to: navigation, search
(Created page with "==Definition== <source lang="scar" lines="false"> function Fact(i: Int64): Int64; </source> ==Availability== SCAR Divi 3.26 > Current ===Aliases=== *Factorial (SCAR Divi 3.21 >...")
(No difference)

Revision as of 13:25, 3 July 2011

Definition

function Fact(i: Int64): Int64;

Availability

SCAR Divi 3.26 > Current

Aliases

  • Factorial (SCAR Divi 3.21 > Current)
  • Fract (SCAR Divi 3.00 > Current)

Description

Returns the factorial of the value given by i.

Example

begin
  WriteLn(Fact(10));
end.

Output:

3628800

See Also