LessThanOrClose(Single, Single) Method
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.
Definition
Namespace: Avalonia.Utilities
Assembly: Avalonia.Base (in Avalonia.Base.dll)
- C#
- VB
- F#
public static bool LessThanOrClose(
float value1,
float value2
)
Public Shared Function LessThanOrClose (
value1 As Single,
value2 As Single
) As Boolean
static member LessThanOrClose :
value1 : float32 *
value2 : float32 -> bool
Parameters
Return Value
BooleanSee Also
Reference
MathUtilities Class
LessThanOrClose Overload
Avalonia.Utilities Namespace