We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1a02fd2 commit b37cc69Copy full SHA for b37cc69
src/cls/Math/Math.cls
@@ -115,6 +115,8 @@ ClassMethod GCD(pFactors...) As %Integer [ CodeMode = expression ]
115
##class(Math.Math).GreatestCommonDivisor(pFactors...)
116
}
117
118
+/// Accepts a single value and returns the factorial of that value</br>
119
+/// Only accepts range of -23 to +23
120
ClassMethod Factorial(pValue = "") As %Integer
121
{
122
Set tSC=##class(Math.Utils).ValidateInput(pValue)
0 commit comments