C# Класс Microsoft.Silverlight.Testing.Controls.NumericExtensions

Numeric utility methods used by controls. These methods are similar in scope to the WPF DoubleUtil class.
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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.

IsLessThanOrClose ( double left, double right ) : bool

Determine if one number is less than or close to another.

IsNaN ( this value ) : bool

Check if a number isn't really a number.

IsZero ( this value ) : bool

Check if a number is zero.

Описание методов

AreClose() публичный статический Метод

Determine if two numbers are close in value.
public static AreClose ( double left, double right ) : bool
left double First number.
right double Second number.
Результат bool

IsGreaterThan() публичный статический Метод

Determine if one number is greater than another.
public static IsGreaterThan ( double left, double right ) : bool
left double First number.
right double Second number.
Результат bool

IsLessThanOrClose() публичный статический Метод

Determine if one number is less than or close to another.
public static IsLessThanOrClose ( double left, double right ) : bool
left double First number.
right double Second number.
Результат bool

IsNaN() публичный статический Метод

Check if a number isn't really a number.
public static IsNaN ( this value ) : bool
value this The number to check.
Результат bool

IsZero() публичный статический Метод

Check if a number is zero.
public static IsZero ( this value ) : bool
value this The number to check.
Результат bool