Difference between revisions of "Manuals/calci/GCD"
Jump to navigation
Jump to search
| Line 1: | Line 1: | ||
| − | + | =GCD(number1, number2, .....) | |
| − | ' | + | *Where 'number1, number2, ......' are integer values. |
| − | + | GCD() calculates the 'Greatest Common Divisor' of two or more integers. | |
| − | + | == Description == | |
| − | + | GCD(number1, number2, .....) | |
| − | |||
| − | |||
| − | |||
| − | |||
| − | + | For Example, | |
| − | + | GCD(5,10) ''returns 5'' | |
| − | + | *GCD value is the largest interger that divides the input numbers without a remainder. | |
| + | *If any 'number' is nonnumeric, Calci displays an #ERROR message. | ||
| + | *If any 'number' is negative, Calci displays an #ERROR message. | ||
| − | + | == Examples == | |
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
<div id="2SpaceContent" class="zcontent" align="left"> | <div id="2SpaceContent" class="zcontent" align="left"> | ||
{| id="TABLE3" class="SpreadSheet blue" | {| id="TABLE3" class="SpreadSheet blue" | ||
|- class="even" | |- class="even" | ||
| − | | class=" " | | + | |class="sshl_f" |'''Function''' |
| − | | class=" | + | |class="sshl_f" |'''GCD Output''' |
| − | + | ||
| − | |||
| − | |||
|- class="odd" | |- class="odd" | ||
| − | | class=" " | | + | |class="sshl_f" |GCD() |
| − | | class="sshl_f" | + | |class="sshl_f" | |
| − | + | ||
| − | | | ||
| − | |||
|- class="even" | |- class="even" | ||
| − | | class=" | + | |class="sshl_f" |GCD() |
| − | | class=" | + | |class="sshl_f" | |
| − | + | ||
| − | |||
| − | |||
| − | |||
|- class="odd" | |- class="odd" | ||
| − | | | + | |class="sshl_f" |GCD() |
| − | | | + | |class="sshl_f" | |
| − | | | + | |
| − | | | ||
| − | |||
|- class="even" | |- class="even" | ||
| − | | | + | |class="sshl_f" |GCD() |
| − | | | + | |class="sshl_f" | |
| − | | | + | |
| − | | | ||
| − | |||
|- class="odd" | |- class="odd" | ||
| − | | class=" " | | + | |class="sshl_f" |GCD() |
| − | + | |class="sshl_f" | | |
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | | class="sshl_f | ||
| − | |||
| − | |||
| − | | | ||
|} | |} | ||
Revision as of 16:25, 19 November 2013
=GCD(number1, number2, .....)
- Where 'number1, number2, ......' are integer values.
GCD() calculates the 'Greatest Common Divisor' of two or more integers.
Description
GCD(number1, number2, .....)
For Example,
GCD(5,10) returns 5
- GCD value is the largest interger that divides the input numbers without a remainder.
- If any 'number' is nonnumeric, Calci displays an #ERROR message.
- If any 'number' is negative, Calci displays an #ERROR message.
Examples
| Function | GCD Output |
| GCD() | |
| GCD() | |
| GCD() | |
| GCD() | |
| GCD() |