 | SQXFactorial Method |
Function [float] Factorial([int] n)
(Mathematics)
Namespace:
sqx
Assembly:
SQX (in SQX.dll) Version: 1.0.2.6 (1.0.2.6)
Syntaxpublic static SqlDouble Factorial(
SqlInt32 n
)
Parameters
- n
- Type: System.Data.SqlTypesSqlInt32
[int]
Return Value
Type:
SqlDouble[float]
RemarksFactorial n! function.
Examplesselect a.Value N, sqx.Factorial(a.Value) [N!], sqx.RecFactorial(a.Value) [1/N!]
from sqx.NTable(0,170) a
See Also