Changes

34 bytes added ,  22:57, 11 January 2014
no edit summary
Line 3: Line 3:  
*where, <math>N</math> is a non-negative number whose factorial is to be found.
 
*where, <math>N</math> is a non-negative number whose factorial is to be found.
   −
FACT() calculates the factorial of a number '''N''' as 1*2*.....*N.
+
FACT() calculates the factorial of a number <math>N</math> as 1*2*.....*<math>N</math>.
    
== Description ==
 
== Description ==
Line 11: Line 11:  
e.g. FACT(3) displays '''6''' as a result.
 
e.g. FACT(3) displays '''6''' as a result.
   −
*The factorial of a number '''N''' is the product of all positive integers, less than or equal to '''N'''. It is calculated as -
+
*The factorial of a number <math>N</math> is the product of all positive integers, less than or equal to <math>N</math>. It is calculated as -
   −
<math>N! = N X (N-1) X (N-2) X ..... 1</MATH>
+
<math>N! = N X (N-1) X (N-2) X ..... 1</math>
   −
*<math>N</math> should be a positive integer. Else Calci displays #NUM error message.
+
*<math>N</math> should be a positive integer. Else Calci displays #N/A error message.
 
*If <math>N</math> is not an integer, it is truncated to calculate the factorial.
 
*If <math>N</math> is not an integer, it is truncated to calculate the factorial.
 
*The factorial of series of numbers can be calculated as -
 
*The factorial of series of numbers can be calculated as -
writer
2,661

edits