| Line 1: |
Line 1: |
| − | FACT
| + | <div style="font-size:30px">'''FACTORIAL (Number)'''</div><br/> |
| | + | *<math>Number</math> is any positive integer. |
| | + | |
| | + | ==Description== |
| | + | *This function is showing the result of factorial of a number. |
| | + | *Factorial means the result of multiplying a sequence of descending natural numbers down to 1. |
| | + | *In <math>FACTORIAL (Number)</math>,<math>Number</math> is any positive integer. |
| | + | *So the factorial <math>n!</math> is defined for a positive integer n as: |
| | + | <math>n!=n(n-1)...2·1</math>. |
| | + | *For example 4!=4*3*2*1 = 24. |
| | + | *The given number will truncated to integer if the given number is in Decimal. |
| | + | *This function will returns the result as NaN when the given number is in negative. |
| | + | |
| | + | ==Examples== |
| | + | #FACTORIAL(9) = 362880 |
| | + | #FACTORIAL(4.3) = 24 |
| | + | #FACTORIAL(54) = 2.308436973392414e+71 |
| | + | #FACTORIAL(-3) = NaN |
| | + | |
| | + | ==See Also== |
| | + | *[[Manuals/calci/FACTDOUBLE | FACTDOUBLE]] |
| | + | |
| | + | ==References== |
| | + | *[http://en.wikipedia.org/wiki/Factorial Factorial] |