MathUtilities.

IsZero(float) Method

Summary

IsZero - Returns whether or not the float is "close" to 0. Same as AreClose(float, 0), but this is faster.
Namespace
Avalonia.Utilities
Containing Type
MathUtilities

Syntax

public static bool IsZero(float value)

Parameters

Name Type Description
value float The float to compare to 0.

Return Value

Type Description
bool