MathUtilitiesAreClose(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) Version: 11.3.999
public static bool AreClose(
	double value1,
	double value2
)

Parameters

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

Return Value

Boolean

See Also