Skip to main content

GreaterThanOrClose(Single, Single) Method

GreaterThanOrClose - Returns whether or not the first float is greater than or close to the second float. That is, whether or not the first is strictly greater than or within epsilon of the other number.

Definition​

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

public static bool GreaterThanOrClose(
float value1,
float value2
)

Parameters​

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

Return Value​

Boolean

See Also​

Reference​

MathUtilities Class
GreaterThanOrClose Overload
Avalonia.Utilities Namespace