Skip to main content

IsOne(Double) Method

IsOne - Returns whether or not the double is "close" to 1. Same as AreClose(double, 1), but this is faster.

Definition

Namespace: Avalonia.Utilities
Assembly: Avalonia.Base (in Avalonia.Base.dll)

public static bool IsOne(
double value
)

Parameters

  Double
The double to compare to 1.

Return Value

Boolean

See Also

Reference

MathUtilities Class
IsOne Overload
Avalonia.Utilities Namespace