DoubleEqualityComparer Constructor

Constructor in DoubleEqualityComparer

Declaration

public DoubleEqualityComparer()

Description

Creates a new DoubleEqualityComparer with a default of 3 decimal digits to compare when determining equality.


Overload

Declaration

public DoubleEqualityComparer(int digits)

Description

Creates a new DoubleEqualityComparer with the specified number of decimal digits to compare when determining equality.

Parameters

digits