Download Location
[Mirror1 download link] - file hosted by unitsofmeasure.codeplex.comA small and simple solution to cope with units of measure in C# applicationsWhats new in version 1.5:Fixes Issue:
• Floating-point paranoia: {KilometerPerHour[123.45] != KilometerPerHour[123.45]}
• Host[Decimal|Double|Float].cs files have been modified to prevent conversion in such cases. Also, the order of floating-point operations has been changed to the one that looks a little more reasonable. Unit tests detected the change immediately and I had to modify them accordingly
Improvements:
• New method(s) UnitSystem.TryParse to parse string input into Quantities/Levels. See [Quantity|Level]Tests.cs source code on details on how to use it.
• Now UnitSystem constructor requires 2 parameters: int capacity and StringComparison lookup
• This allows to specify capacity of the system explicitly and to to choose between case-sensitive and case-insensitive lookups of unit symbols
• Sample systems SIUnits[Decimal|Double|Float].cs preseve parameterless constructor that creates UnitSystem with: capacity = 64, lookup = StringComparison.OrdinalIgnoreCase. The latter makes them behaving differently th...
You are about to download a Freeware version for Units of Measure. This download links are providet to you by software publisher