Skip to main content

GreaterThan(Single, Single) Method

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

Definition​

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

public static bool GreaterThan(
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
GreaterThan Overload
Avalonia.Utilities Namespace