Skip to main content

AreClose(Double, Double) Method

AreClose - Returns whether or not two doubles are "close". That is, whether or not they are within epsilon of each other.

Definition

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

public static bool AreClose(
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
AreClose Overload
Avalonia.Utilities Namespace