|
EuclideanGreatestCommonDenominator(Int32, Int32) Method
|
Gets the greatest common denominator of the given integers.
Namespace: GSF.NumericalAnalysisAssembly: GSF.Core (in GSF.Core.dll) Version: 2.4.248-beta+a497a19de709fd99e2448886199a2c8824265ddf
Syntaxpublic static int GreatestCommonDenominator(
int a,
int b
)
Public Shared Function GreatestCommonDenominator (
a As Integer,
b As Integer
) As Integer
public:
static int GreatestCommonDenominator(
int a,
int b
)
static member GreatestCommonDenominator :
a : int *
b : int -> int
GSF.NumericalAnalysis.Euclidean.GreatestCommonDenominator = function(a, b);
View SourceParameters
- a Int32
- The first of the given integers.
- b Int32
- The second of the given integers.
Return Value
Int32The greatest common denominator.
See Also