IsZero(Single) Method
IsZero - Returns whether or not the float is "close" to 0. Same as AreClose(float, 0), but this is faster.
Definition
Namespace: Avalonia.Utilities
Assembly: Avalonia.Base (in Avalonia.Base.dll)
- C#
- VB
- F#
public static bool IsZero(
float value
)
Public Shared Function IsZero (
value As Single
) As Boolean
static member IsZero :
value : float32 -> bool
Parameters
- Single
- The float to compare to 0.
Return Value
BooleanSee Also
Reference
MathUtilities Class
IsZero Overload
Avalonia.Utilities Namespace