C# Class Cats.Helpers.UnitConversion

Show file Open project: edgecomputing/cats

Public Methods

Method Description
ToMetricTone ( this html, double amountInQuintal ) : double
ToQuintal ( this html, double amountInMT ) : double
Translate ( this html, double amount, string unit = "MT" ) : double

Method Details

ToMetricTone() public static method

public static ToMetricTone ( this html, double amountInQuintal ) : double
html this
amountInQuintal double
return double

ToQuintal() public static method

public static ToQuintal ( this html, double amountInMT ) : double
html this
amountInMT double
return double

Translate() public static method

public static Translate ( this html, double amount, string unit = "MT" ) : double
html this
amount double
unit string
return double