MathUtilitiesAreClose(Single, Single) Method

AreClose - Returns whether or not two floats 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(
	float value1,
	float value2
)

Parameters

value1  Single
The first float to compare.
value2  Single
The second float to compare.

Return Value

Boolean

See Also