Skip to main content

GreaterThanOrClose(Double, Double) Method

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.

Definition​

Namespace: Avalonia.Utilities
Assembly: Avalonia.Base (in Avalonia.Base.dll)

public static bool GreaterThanOrClose(
double value1,
double value2
)

Parameters​

  Double
The first double to compare.
  Double
The second double to compare.

Return Value​

Boolean

See Also​

Reference​

MathUtilities Class
GreaterThanOrClose Overload
Avalonia.Utilities Namespace