C# Class Unigram.Controls.NumericExtensions

Datei anzeigen Open project: hihain/UnigramMobile Class Usage Examples

Public Methods

Method Description
AreClose ( double left, double right ) : bool

Determine if two numbers are close in value.

IsGreaterThan ( double left, double right ) : bool

Determine if one number is greater than another.

IsNaN ( double value ) : bool

Check if a number isn't really a number.

Method Details

AreClose() public static method

Determine if two numbers are close in value.
public static AreClose ( double left, double right ) : bool
left double First number.
right double Second number.
return bool

IsGreaterThan() public static method

Determine if one number is greater than another.
public static IsGreaterThan ( double left, double right ) : bool
left double First number.
right double Second number.
return bool

IsNaN() public static method

Check if a number isn't really a number.
public static IsNaN ( double value ) : bool
value double The number to check.
return bool