AreClose(Single, Single) Method
AreClose - Returns whether or not two floats are "close". That is, whether or not they are within epsilon of each other.
Definition
Namespace: Avalonia.Utilities
Assembly: Avalonia.Base (in Avalonia.Base.dll)
- C#
- VB
- F#
public static bool AreClose(
float value1,
float value2
)
Public Shared Function AreClose (
value1 As Single,
value2 As Single
) As Boolean
static member AreClose :
value1 : float32 *
value2 : float32 -> bool
Parameters
Return Value
BooleanSee Also
Reference
MathUtilities Class
AreClose Overload
Avalonia.Utilities Namespace