UnitsNet 2.0.0-alpha

This is a prerelease version of UnitsNet.
There is a newer version of this package available.
See the version list below for details.
dotnet add package UnitsNet --version 2.0.0-alpha                
NuGet\Install-Package UnitsNet -Version 2.0.0-alpha                
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="UnitsNet" Version="2.0.0-alpha" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add UnitsNet --version 2.0.0-alpha                
#r "nuget: UnitsNet, 2.0.0-alpha"                
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install UnitsNet as a Cake Addin
#addin nuget:?package=UnitsNet&version=2.0.0-alpha&prerelease

// Install UnitsNet as a Cake Tool
#tool nuget:?package=UnitsNet&version=2.0.0-alpha&prerelease                

Units.NET gives you all the common units of measurement and the conversions between them. It is light-weight, unit tested and supports PCL.

Product Compatible and additional computed target framework versions.
.NET Framework net35-client is compatible. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

This package has no dependencies.

GitHub repositories (9)

Showing the top 5 popular GitHub repositories that depend on UnitsNet:

Repository Stars
microsoft/PowerToys
Windows system utilities to maximize productivity
angularsen/UnitsNet
Makes life working with units of measurement just a little bit better.
dotnet/iot
This repo includes .NET Core implementations for various IoT boards, chips, displays and PCBs.
genielabs/HomeGenie
HomeGenie, the programmable automation intelligence
axzxs2001/Asp.NetCoreExperiment
原来所有项目都移动到**OleVersion**目录下进行保留。新的案例装以.net 5.0为主,一部分对以前案例进行升级,一部分将以前的工作经验总结出来,以供大家参考!
Version Downloads Last updated
3.13.0-beta 92 4/27/2015
3.12.0 700 4/14/2015
3.11.0 124 4/8/2015
3.10.0 646 3/30/2015
3.9.0 45 3/30/2015
3.8.0 45 3/29/2015
3.7.1 45 3/27/2015
3.7.0 41 3/27/2015
3.6.0 258 3/19/2015
3.5.0 101 3/17/2015
3.4.0 394 3/2/2015
3.4.0-alpha2 33 3/2/2015
3.4.0-alpha 37 3/2/2015
3.3.0 826 11/21/2014
3.2.0 329 10/17/2014
3.1.0 212 9/19/2014
3.0.0 407 7/23/2014
3.0.0-beta 72 7/22/2014
2.0.0 673 2/9/2014
2.0.0-beta 68 2/9/2014
2.0.0-alpha 70 2/5/2014
1.13.0.15 74 1/31/2014
1.12.0-beta 66 1/4/2014
1.11.0 843 11/18/2013
1.10.0 76 11/15/2013
1.9.0 51 11/7/2013
1.8.0 52 10/30/2013
1.7.0 56 8/8/2013
1.6.0 46 8/6/2013
1.5.0 51 8/2/2013
1.4.0 48 7/22/2013
1.3.0 47 7/21/2013
1.2.0 46 7/21/2013

v2.0: Add support for external units.

Breaking changes: UnitConverter and UnitValue removed. Unit enum broken into separate unit enums per unit class.

v1.13: Add mass unit (pound) (thanks @strvmarv).

v1.12: Add speed units (km/h, m/s, ft/s, knots, mph). Add mass units (microgram, nanogram).

v1.11: Fix bugs in Flow and RotationalSpeed units after refactoring to T4 templates (thanks George Zhuikov).
Add Temperature units.

v1.10: Add missing localization to units for US English and Russian cultures (thanks George Zhuikov).
Add RotationalSpeed and Flow unit classes (thanks George Zhuikov).
Add mils and microinches length units (thanks Georgios).
Refactor to generate unit classes with T4 templates, a lot less work to add new units.

v1.9: Improve precision of PoundForce unit (thanks Jim Selikoff).

v1.8: Add angle units of measurement (thanks Georgios). Add tests and fix bug in NewtonPerSquareCentimeter and NewtonPerSquareMillimeter.

v1.7: Add imperial and US units for volume and area.

v1.6: Add area units. Fix exception in TryConvert for volume units.

v1.5: Add volume units of measurement (thanks @vitasimek). Add missing operator overloads.

v1.4: Add ShortTon and LongTon mass units (thanks Cameron MacFarland). Add TryConvert methods.

v1.3: Add pressure units. Add dynamic conversion via UnitConverter and UnitValue

v1.2: Add force, torque, pressure, mass, voltage, length and length2d units of measurement.