Utils.

IsOne(double) Method

Summary

Returns whether or not the double is "close" to 1. Same as AreClose(double, 1), but this is faster.
Namespace
MahApps.Metro.Controls
Containing Type
Utils

Syntax

public static bool IsOne(this double value)

Parameters

Name Type Description
value double The double to compare to 1.

Return Value

Type Description
bool bool - the result of the AreClose comparision.