MathUtilitiesIsOne(Double) Method
IsOne - Returns whether or not the double is "close" to 1. Same as AreClose(double, 1),
but this is faster.
Namespace: Avalonia.UtilitiesAssembly: Avalonia.Base (in Avalonia.Base.dll) Version: 11.3.999
public static bool IsOne(
double value
)
Public Shared Function IsOne (
value As Double
) As Boolean
static member IsOne :
value : float -> bool
- value Double
- The double to compare to 1.
Boolean