Functions and CALL Routines |
Category: | Mathematical |
Syntax | |
Arguments | |
Details | |
Examples | |
See Also |
Syntax |
FACT(n) |
Details |
The mathematical representation of the FACT function is given by the following equation:
with n 0.If the expression cannot be computed, a missing value is returned. For moderately large values, it is sometimes not possible to compute the FACT function.
Examples |
SAS Statements | Results |
---|---|
x=fact(5); |
120 |
See Also |
|
Copyright © 2011 by SAS Institute Inc., Cary, NC, USA. All rights reserved.