MathUtilities.

GreaterThanOrClose(double, double) Method

Summary

GreaterThanOrClose - Returns whether or not the first double is greater than or close to the second double. That is, whether or not the first is strictly greater than or within epsilon of the other number.
Namespace
Avalonia.Utilities
Containing Type
MathUtilities

Syntax

public static bool GreaterThanOrClose(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