Cicode Programming Reference > Cicode Function Categories > Math and Trigonometry Functions Introduction > Fact

Fact

Calculates the factorial of a number.

Syntax

Fact(Number)

Number:

Any number.

Return Value

The factorial of Number.

Example

Variable=Fact(6);
! Sets Variable to 720 (that is 720=1x2x3x4x5x6).

See Also

Math/Trigonometry Functions