Method IsOne
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
doubleThe double to compare to 1.
Returns
- bool
bool - the result of the AreClose comparision.