C# Class JavaScriptEngineSwitcher.ChakraCore.Helpers.NumericHelpers

Numeric helpers
Afficher le fichier Open project: Taritsyn/JavaScriptEngineSwitcher Class Usage Examples

Méthodes publiques

Méthode Description
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

Method Details

CastDoubleValueToCorrectType() public static méthode

Casts a double value to the correct type
public static CastDoubleValueToCorrectType ( double value ) : object
value double Double value
Résultat object

IsNumericType() public static méthode

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
Résultat bool