C# 클래스 JavaScriptEngineSwitcher.ChakraCore.Helpers.NumericHelpers

Numeric helpers
파일 보기 프로젝트 열기: Taritsyn/JavaScriptEngineSwitcher 1 사용 예제들

공개 메소드들

메소드 설명
CastDoubleValueToCorrectType ( double value ) : object

Casts a double value to the correct type

IsNumericType ( Type type ) : bool

Gets a value indicating whether the specified type is one of the numeric types

메소드 상세

CastDoubleValueToCorrectType() 공개 정적인 메소드

Casts a double value to the correct type
public static CastDoubleValueToCorrectType ( double value ) : object
value double Double value
리턴 object

IsNumericType() 공개 정적인 메소드

Gets a value indicating whether the specified type is one of the numeric types
public static IsNumericType ( Type type ) : bool
type System.Type The type
리턴 bool