Open this page in the API Guide

MathHelper.GreatestCommonDivisor 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 (25.1.0.1000)
Syntax
public static double GreatestCommonDivisor(
	double a,
	double b
)

Parameters

a
Type: System.Double
The first value.
b
Type: System.Double
The second value.

Return Value

Type: Double
The greatest common divisor.
See Also