fact() Function

Functions

fact( number )

The factorial of specified number. Returns a decimal even though the factorial is an integer.

Parameters

Keyword Type Description

number

Integer

A number between 0 and 170, the factorial of which will be returned.

Returns

Decimal

Examples

You can experiment with this function in the test box below.

Test Input

fact(6) returns 720

Open in Github

On This Page

FEEDBACK