MathUtilitiesIsZero(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) Version: 11.3.999
public static bool IsZero(
	float value
)

Parameters

value  Single
The float to compare to 0.

Return Value

Boolean

See Also