-
Notifications
You must be signed in to change notification settings - Fork 1
Home
Ivan R. Perez edited this page Feb 2, 2017
·
15 revisions
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.
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
- .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