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