Table of Contents

Method IsOne

Namespace
Alternet.UI
Assembly
Alternet.UI.Common.dll

IsOne(double)

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

public static bool IsOne(double value)

Parameters

value double

The double to compare to 1.

Returns

bool

bool - the result of the AreClose comparision.