MathUtilities.

AreClose(double, double) Method

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)

Parameters

Name Type Description
value1 double The first double to compare.
value2 double The second double to compare.

Return Value

Type Description
bool