C# 클래스 Microsoft.Silverlight.Testing.Controls.NumericExtensions

Numeric utility methods used by controls. These methods are similar in scope to the WPF DoubleUtil class.
파일 보기 프로젝트 열기: garyjohnson/wpnest 1 사용 예제들

공개 메소드들

메소드 설명
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