Summary
AreClose - Returns whether or not two doubles are "close". That is, whether or
not they are within epsilon of each other.
- Namespace
- Avalonia
.Utilities - Containing Type
- MathUtilities
Syntax
public static bool AreClose(double value1, double value2, double eps)
Parameters
Name | Type | Description |
---|---|---|
value1 | double | The first double to compare. |
value2 | double | The second double to compare. |
eps | double | The fixed epsilon value used to compare. |
Return Value
Type | Description |
---|---|
bool |