FloatEqualityComparer Constructor

Constructor in FloatEqualityComparer

Declaration

public FloatEqualityComparer()

Description

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


Overload

Declaration

public FloatEqualityComparer(int digits)

Description

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

Parameters

digits