C# Class Automatak.Simulator.Commons.SafeConvert

Afficher le fichier Open project: automatak/dnp3-simulator

Méthodes publiques

Méthode Description
ToDouble ( Decimal value ) : System.Double
ToInt16 ( Decimal value ) : Int16
ToInt32 ( Decimal value ) : Int32
ToSingle ( Decimal value ) : System.Single

Method Details

ToDouble() public static méthode

public static ToDouble ( Decimal value ) : System.Double
value Decimal
Résultat System.Double

ToInt16() public static méthode

public static ToInt16 ( Decimal value ) : Int16
value Decimal
Résultat System.Int16

ToInt32() public static méthode

public static ToInt32 ( Decimal value ) : Int32
value Decimal
Résultat System.Int32

ToSingle() public static méthode

public static ToSingle ( Decimal value ) : System.Single
value Decimal
Résultat System.Single