[<<Previous Entry]
[^^Up^^]
[Next Entry>>]
[Menu]
[About The Guide]
FACTORIAL()
To return the value of a factorial.
------------------------------------------------------------------------------
Syntax
FACTORIAL(<nInteger>) -> nFactorial
Arguments
<nInteger> is a numeric integer that is used to compute a factorial.
Returns
FACTORIAL() returns the value of a factorial
Description
A factorial value is the result of multiplying an integer by every
integer below it.
For example, the factorial of 6 is equal to (6*5*4*3*2*1 = 720).
Examples
? Str( FACTORIAL(6), 5,0) // returns 720
Files: CALC.LIB
Author: Touchstone Business Creations CompuServe ID: 73670,2561
28613 River Glen Ct. #1
Menifee, CA 92584-8987 USA
(909) 679-3364
Owner : (c) Copyright, 1991,92,93 Touchstone Business Creations
This page created by ng2html v1.05, the Norton guide to HTML conversion utility.
Written by Dave Pearson