MathUtilities.

AreClose(float, float) Method

Summary

AreClose - Returns whether or not two floats are "close". That is, whether or not they are within epsilon of each other.
Namespace
Avalonia.Utilities
Containing Type
MathUtilities

Syntax

public static bool AreClose(float value1, float value2)

Parameters

Name Type Description
value1 float The first float to compare.
value2 float The second float to compare.

Return Value

Type Description
bool