C# Класс Engineer.EngineerTools

Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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

Описание методов

ForceFormatter() публичный статический Метод

public static ForceFormatter ( double force ) : string
force double
Результат string

SimpleFormatter() публичный статический Метод

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
Результат string

SimpleFormatter() публичный статический Метод

public static SimpleFormatter ( double number, string postfix = "", int decimals = -1, bool alwaysShowDecimals = false ) : string
number double
postfix string
decimals int
alwaysShowDecimals bool
Результат string

WeightFormatter() публичный статический Метод

public static WeightFormatter ( double weight ) : string
weight double
Результат string

WeightFormatter() публичный статический Метод

public static WeightFormatter ( double weight1, double weight2 ) : string
weight1 double
weight2 double
Результат string