diff --git a/poi/src/main/java/org/apache/poi/ss/formula/functions/Gcd.java b/poi/src/main/java/org/apache/poi/ss/formula/functions/Gcd.java index 6b6f051607..a77a7bd671 100644 --- a/poi/src/main/java/org/apache/poi/ss/formula/functions/Gcd.java +++ b/poi/src/main/java/org/apache/poi/ss/formula/functions/Gcd.java @@ -26,6 +26,19 @@ import org.apache.poi.ss.formula.eval.ValueEval; import java.util.ArrayList; + +/** + * Implementation for Excel GCD() function. + *

+ * Syntax:
GCD (number, ...)
+ *

+ *

+ * Returns the greatest common divisor of two or more integers. The greatest common divisor is the largest integer that divides both number1 and number2 without a remainder. + *

+ *

+ * See https://support.microsoft.com/en-us/office/gcd-function-d5107a51-69e3-461f-8e4c-ddfc21b5073a + *

+ */ public class Gcd implements FreeRefFunction { public static final Gcd instance = new Gcd();