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