MathUtilities.

LessThanOrClose(float, float) Method

Summary

LessThanOrClose - Returns whether or not the first float is less than or close to the second float. That is, whether or not the first is strictly less than or within epsilon of the other number.
Namespace
Avalonia.Utilities
Containing Type
MathUtilities

Syntax

public static bool LessThanOrClose(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