Skip to main content

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)

public static bool IsZero(
double value
)

Parameters

  Double
The double to compare to 0.

Return Value

Boolean

See Also

Reference

MathUtilities Class
IsZero Overload
Avalonia.Utilities Namespace