Click or drag to resize

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)
Syntax
C#
public static int GreatestCommonDivisor(
	params int[] val
)

Parameters

val
Type: SystemInt32
An Array of numbers.

Return Value

Type: Int32
The greatest common divisor of val.
See Also