CodePlexProject Hosting for Open Source Software

Strongly typed physical quantities and unit conversion.

- Strongly typed arithmetics of physical quantities
- Implemented as value types
- Parsing from strings
- Formatting to strings
- Unit conversion
- Extendable (create more quantity types, add units)
- Configurable (set default units for parsing and formatting)
- NuGet package

Length s = 100 * Length.Metre; Time t = 9.58 * Time.Second; Velocity v = s / t; Console.WriteLine(v); Console.WriteLine(v.ToString("0.00 km/h")); Mass m = Mass.Parse("92 kg"); double massInPounds = m.ConvertTo(Mass.Pound); Temperature temp = 100 * Temperature.Celsius; double tempInFahrenheit = temp.ConvertTo(Temperature.Fahrenheit);

- B. D. Hall. Software support for physical quantities. 2002.
- Barton and Nackman. Dimensional analysis. C++ Report
- Brown. Introduction to the SI Library of Unit-Based Computation
- Brown. Applied Template Metaprogramming in SIUNITS

- Physical quantity
- Unit of measurement
- Conversion of units
- International System of Units
- A Dictionary of Units of Measurement
- The International System of Units (SI) (Bureau International des Poids et Mesures)
- Package siunitx: A comprehensive (SI) units package.
- Writing SI units and symbols

- NGenericDimensions™
- quantities.net
- unitcon
- units
- Measurement Unit Conversion Library
- Units of Measure Library
- Units of Measure Validator for C#
- Working with Units and Amounts
- Units.NET

Last edited Aug 29, 2014 at 5:13 AM by objo, version 15