Does anyone know a library for working with quantity/unit of measure pairs?
Posted
by George Mauer
on Stack Overflow
See other posts from Stack Overflow
or by George Mauer
Published on 2008-09-10T13:35:13Z
Indexed on
2010/05/29
15:52 UTC
Read the original article
Hit count: 146
I would like to be able to do such things as
var m1 = new UnitOfMeasureQuantityPair(123.00, UnitOfMeasure.Pounds);
var m2 = new UnitOfMeasureQuantityPair(123.00, UnitOfMeasure.Liters);
m1.ToKilograms();
m2.ToPounds(new Density(7.0, DensityType.PoundsPerGallon);
If there isn't something like this already, anybody interested in doing it as an os project?
© Stack Overflow or respective owner