|
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.250-beta+e1aac152bf9c38c67035c6d283461f222e39e02a
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