# FACT

Spread for WinForms provides advanced software components that support Excel import/export, full cell customization, an extensive calculation engine with over 450 functions and more, all with zero dependencies on Excel.

## Content



This function calculates the factorial of the specified number.

## Syntax

FACT(*number*)

## Arguments

The argument can be any numeric value.

## Remarks

The factorial is the product of the positive integers less than or equal to a number and is calculated as 1 x 2 x 3 x . . . x *number*, and is typically written as n! for n being the number. For example, 4! is 1 x 2 x 3 x 4, which is 24. The argument must be a non-negative number. If you provide a number that is not an integer for the argument, the decimal portion of the number is ignored.

## Data Types

Accepts numeric data. Returns numeric data.

## Examples

`FACT(B3)`
`FACT(R1C2)`
`FACT(10)` gives the result 3628800

## Version Available

This function is available in product version 1.0 or later.

## See Also

[FACTDOUBLE](/spreadnet/docs/latest/online-formula/formulas-functionsall/formulas-functsDtoG/FunctionFACTDOUBLE) \| [PRODUCT](/spreadnet/docs/latest/online-formula/formulas-functionsall/formulas-functsMtoQ/FunctionPRODUCT) \| [Math and Trigonometry Functions](/spreadnet/docs/latest/online-formula/formulas-overview/formulas-functs/formulas-functtypes/formulas-functsmathtrig)