MathHelperGreatestCommonDivisor Method |
Calculates the greatest positive common divisor of a and b.
Namespace:
Dundas.BI.Utility
Assembly:
Dundas.BI.Core (in Dundas.BI.Core.dll) Version: 2.0.0.0 (24.3.0.1000)
Syntax public static double GreatestCommonDivisor(
double a,
double b
)
Public Shared Function GreatestCommonDivisor (
a As Double,
b As Double
) As Double
public:
static double GreatestCommonDivisor(
double a,
double b
)
static member GreatestCommonDivisor :
a : float *
b : float -> float
Parameters
- a
- Type: SystemDouble
The first value. - b
- Type: SystemDouble
The second value.
Return Value
Type:
DoubleThe greatest common divisor.
See Also