Factorial

<< Click to Display Table of Contents >>

Navigation:  ThinBASIC Modules > Math > Combinatorics functions >

Factorial

 

Description

 

Returns the product of consecutive numbers 1 through n..

 

Syntax

 

n = Factorial(N)

 

Returns

 

Number.

 

Parameters

 

Name

Type

Optional

Meaning

N

Number

No

Number of which you want to calculate factorial

 

Remarks

 

Restrictions

 

Max N allowed: 1754

 

See also

 

Examples