Skip to content
Ivan R. Perez edited this page Feb 2, 2017 · 15 revisions

Welcome to the Cubico Unit Conversion & Measurement library documentation

Overview

The UnitConverter API is an open source project that gives the ability to take measurements and provide basic operations on those measurements, even if the measurements are in different units of measure.

Examples

Lets assume that we have a measurement of 5ft and we would like to subtract that by 10cm.

var length = new Measurement(5, Units.Feet);

var less = new Measurement(10, Units.Centimeters);

var result = length - less;

Console.WriteLine(result.ToString());

4.67191601ft

Road Map

  • .Net Core Support
  • Currently the Measurement class only takes in doubles as the numeric component. Planning to add support for all numerical types such as Integers, Decimals, Singles, etc.
  • Performance tweaks
  • Add a Math module for well known formulas
  • Arbitrary Precision