We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d71464e commit 451c3acCopy full SHA for 451c3ac
1 file changed
src/cls/Math/Math.cls
@@ -1,6 +1,8 @@
1
Class Math.Math
2
{
3
4
+/// Accepts a variable number of parameters and outputs the Least Common Multiple of them</br>
5
+/// Null input and 0 are not valid
6
ClassMethod LeastCommonMultiple(pIntegers... As %Integer) As %Integer
7
8
Set tSC=##class(Math.Utils).ValidateInput(pIntegers...)
@@ -37,6 +39,7 @@ ClassMethod LeastCommonMultiple(pIntegers... As %Integer) As %Integer
37
39
Quit tRes
38
40
}
41
42
+/// See <method>LeastCommonMultiple</method>
43
ClassMethod LCM(pFactors...) As %Integer [ CodeMode = expression ]
44
45
##class(Math.Math).LeastCommonMultiple(pFactors...)
0 commit comments