C# Class Engineer.EngineerTools

Mostrar archivo Open project: CYBUTEK/Engineer Class Usage Examples

Public Methods

Method 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 method

public static ForceFormatter ( double force ) : string
force double
return string

SimpleFormatter() public static method

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
return string

SimpleFormatter() public static method

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

WeightFormatter() public static method

public static WeightFormatter ( double weight ) : string
weight double
return string

WeightFormatter() public static method

public static WeightFormatter ( double weight1, double weight2 ) : string
weight1 double
weight2 double
return string