|
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.249-beta+56964f8aed6f3f2e54faec1539f7ce0ba6548fdf
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