当两个数的误差值的绝对值小于阈值的时候认为两个数字相等
NumberEqualityComparer
01 Syntax
Microsoft.VisualBasic.Math.NumberEqualityComparer
02 Methods
| Name | Overloads | Summary |
|---|---|---|
| .ctor | 1 | the threshold value |
| ToString | 1 | |
| Equals | 2 | |
| GetHashCode | 1 |
03 Properties
| Name | Overloads | Summary |
|---|---|---|
| DeltaTolerance | 1 | the threshold value |
04 Members
#ctor(
Double)the threshold value
Parameters
| Name | Type | Description |
|---|---|---|
tolerance | Double | - |
DeltaTolerance
the threshold value
ToString()
Equals()
Equals(
Double, Double)GetHashCode(
Double)