MathHelperGreatestCommonDivisor Method |
Calculates the greatest positive common divisor of a and b.
Namespace: Dundas.BI.UtilityAssembly: Dundas.BI.Core (in Dundas.BI.Core.dll) Version: 2.0.0.0 (26.2.0.1000)
Syntaxpublic 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 Double
- The first value.
- b Double
- The second value.
Return Value
DoubleThe greatest common divisor.
See Also