C# Class Engineer.EngineerTools

Afficher le fichier Open project: CYBUTEK/Engineer Class Usage Examples

Méthodes publiques

Méthode Description
ForceFormatter ( double force ) : string
SimpleFormatter ( double number1, double number2, string postfix = "", int decimals, bool alwaysShowDecimals = false ) : string
SimpleFormatter ( double number, string postfix = "", int decimals = -1, bool alwaysShowDecimals = false ) : string
WeightFormatter ( double weight ) : string
WeightFormatter ( double weight1, double weight2 ) : string

Method Details

ForceFormatter() public static méthode

public static ForceFormatter ( double force ) : string
force double
Résultat string

SimpleFormatter() public static méthode

public static SimpleFormatter ( double number1, double number2, string postfix = "", int decimals, bool alwaysShowDecimals = false ) : string
number1 double
number2 double
postfix string
decimals int
alwaysShowDecimals bool
Résultat string

SimpleFormatter() public static méthode

public static SimpleFormatter ( double number, string postfix = "", int decimals = -1, bool alwaysShowDecimals = false ) : string
number double
postfix string
decimals int
alwaysShowDecimals bool
Résultat string

WeightFormatter() public static méthode

public static WeightFormatter ( double weight ) : string
weight double
Résultat string

WeightFormatter() public static méthode

public static WeightFormatter ( double weight1, double weight2 ) : string
weight1 double
weight2 double
Résultat string