# Documentation/Calc Functions/FAKULTET

This page is a translated version of the page Documentation/Calc Functions/FACT and the translation is 6% complete.
Outdated translations are marked like this.
Other languages:

FAKULTET

Matematisk

## Resume:

Returnerer et tals fakultet.

## Syntaks:

FAKULTET(Number)

## Returnerer:

Returns a positive integer that is the factorial of the given argument.

## Argumenter:

Tallet er et ikke-negativt heltal eller en reference til en celle, der indeholder det heltal, hvis fakultetstal skal beregnes.

• * Hvis tallet er negativt, returnerer funktionen en fejlværdi.
• Hvis tallet ikke er et heltal, anvendes dets gulvværdi, dvs. at tallet trunkeres til et heltal.
• If Number is a non-integer value, then FAKULTET converts it to an integer by taking its floor value.
• If Number is less than 0, then FAKULTET reports an invalid argument error (Fejl:502).
• If Number is greater than 170, then FAKULTET reports a #VÆRDI! error. (170! is a very large number, approximately 7.26 E+306)

## Yderligere oplysninger:

• Fakultetstallet af 0 returnerer pr. definition 1.

$\displaystyle{ \text{FACT}(n)~=~n\times(n-1)\times(n-2)\times...\times\:1 }$

• Formlen, der bruges til funktionen FAKULTET, er:
• Hvor F er tallet

## Eksempler:

Formula Description Returns
=FAKULTET(3,5) The floor value of 3.5 is 3 and 3! is equal to 3*2*1. 6
=FAKULTET(D1) where cell D1 contains the number 1. 1! is equal to 1. 1
=FAKULTET(0) 0! is defined to be 1. 1

FACT