UtilGetGreatestCommonDivisor Method
|
Find the Greatest Common Divisor
Namespace:
Guardtime.KSI.Utils
Assembly:
ksi-net-api (in ksi-net-api.dll) Version: 3.11.534.0 (3.11.534.0)
Syntaxpublic static int GetGreatestCommonDivisor(
int a,
int b
)
Public Shared Function GetGreatestCommonDivisor (
a As Integer,
b As Integer
) As Integer
public:
static int GetGreatestCommonDivisor(
int a,
int b
)
static member GetGreatestCommonDivisor :
a : int *
b : int -> int
Parameters
- a
- Type: SystemInt32
Number a - b
- Type: SystemInt32
Number b
Return Value
Type:
Int32The greatest common Divisor
See Also