Difference between revisions of "Documentation/How Tos/Calc: GCD ADD function"

From Apache OpenOffice Wiki
Jump to: navigation, search
m
m
 
(5 intermediate revisions by 4 users not shown)
Line 1: Line 1:
__NOTOC__
+
{{DISPLAYTITLE:GCD_ADD function}}
 +
{{Documentation/CalcFunc MathematicalTOC
 +
|ShowPrevNext=block
 +
|PrevPage=Documentation/How_Tos/Calc:_GCD_function
 +
|NextPage=Documentation/How_Tos/Calc:_GESTEP_function
 +
}}__NOTOC__
  
 
== GCD_ADD ==
 
== GCD_ADD ==
Line 23: Line 28:
  
 
=== Issues: ===
 
=== Issues: ===
The ODFF international standardisation of the <tt>'''GCD'''</tt> / <tt>'''GCD_ADD'''</tt> functions will allow both functions to produce precisely the same results.
+
The ODFF international standardization of the <tt>'''GCD'''</tt> / <tt>'''GCD_ADD'''</tt> functions will allow both functions to produce precisely the same results.
  
{{Documentation/SeeAlso|
+
{{SeeAlso|EN|
 
* [[Documentation/How_Tos/Calc: GCD function|GCD]]
 
* [[Documentation/How_Tos/Calc: GCD function|GCD]]
 
* [[Documentation/How_Tos/Calc: LCM function|LCM]]
 
* [[Documentation/How_Tos/Calc: LCM function|LCM]]
Line 34: Line 39:
 
* [[Documentation/How_Tos/Calc: Functions listed alphabetically|Functions listed alphabetically]]
 
* [[Documentation/How_Tos/Calc: Functions listed alphabetically|Functions listed alphabetically]]
 
* [[Documentation/How_Tos/Calc: Functions listed by category|Functions listed by category]]}}
 
* [[Documentation/How_Tos/Calc: Functions listed by category|Functions listed by category]]}}
 +
[[Category: Documentation/Reference/Calc/Mathematical functions]]

Latest revision as of 15:27, 31 January 2024

GCD_ADD

Returns the greatest common divisor of two or more integers.

This function is only available if the Analysis AddIn is installed.

Syntax:

GCD_ADD(integer1; integer2; ... integer30)

integer1 to integer30 are up to 30 integers or ranges of integers whose greatest common divisor is to be calculated.
The greatest common divisor (or highest common factor) is the largest positive integer which will divide, without remainder, each of the given integers.

Example:

GCD_ADD(16; 32; 24)

returns 8, because 8 is the largest number that can divide 16, 24 and 32 without a remainder.

GCD_ADD(B1:B3)

where cells B1, B2, and B3 contain 9, 12, and 6 returns 3.

GCD_ADD(3; 5)

returns 1.

Issues:

The ODFF international standardization of the GCD / GCD_ADD functions will allow both functions to produce precisely the same results.



See Also
Retrieved from "https://wiki.openoffice.org/w/index.php?title=Documentation/How_Tos/Calc:_GCD_ADD_function&oldid=259894"
Views
Personal tools
Navigation
Tools
In other languages