 | greatestCommonDivisorGreatestCommonDivisor Method (Int32) |
Get the greatest common divisor of an array on
Int32s.
Namespace:
NumberStone
Assembly:
WhetStone (in WhetStone.dll) Version: 1.0.4.0 (1.0.0.0)
Syntaxpublic static int GreatestCommonDivisor(
params int[] val
)
Parameters
- val
- Type: SystemInt32
An Array of numbers.
Return Value
Type:
Int32The greatest common divisor of
val.
See Also