UnitsNet 3.0.0

There is a newer version of this package available.
See the version list below for details.
dotnet add package UnitsNet --version 3.0.0
                    
NuGet\Install-Package UnitsNet -Version 3.0.0
                    
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="3.0.0" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="UnitsNet" Version="3.0.0" />
                    
Directory.Packages.props
<PackageReference Include="UnitsNet" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add UnitsNet --version 3.0.0
                    
#r "nuget: UnitsNet, 3.0.0"
                    
#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.
#:package UnitsNet@3.0.0
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=UnitsNet&version=3.0.0
                    
Install as a Cake Addin
#tool nuget:?package=UnitsNet&version=3.0.0
                    
Install as a Cake Tool

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 (8)

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

Repository Stars
microsoft/PowerToys
Microsoft PowerToys is a collection of utilities that supercharge productivity and customization on Windows
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.
axzxs2001/Asp.NetCoreExperiment
原来所有项目都移动到**OleVersion**目录下进行保留。新的案例装以.net 5.0为主,一部分对以前案例进行升级,一部分将以前的工作经验总结出来,以供大家参考!
raspberry-sharp/raspberry-sharp-io
A .NET/Mono IO Library for Raspberry Pi
porrey/Virtual-ZPL-Printer
An ethernet based virtual Zebra Label Printer that can be used to test applications that produce bar code labels.
nanoframework/nanoFramework.IoT.Device
📦 This repo includes .NET nanoFramework implementations for various sensors, chips, displays, hats and drivers
BriefFiniteElementNet/BriefFiniteElement.Net
BriefFiniteElementDotNET (BFE.NET) is a library for linear-static Finite Element Method (FEM) analysis of solids and structures in .NET
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

v3.0.0: Clean up naming of units. Add information unit.

New:
* Add information units for bit, byte, kilobit, kilobyte, kibibit, kibibyte and so on up to exabyte

Breaking changes:
* Delete OtherUnit.Piece
* Move OtherUnit.Table/Teaspoon to Volume
* Rename Month30Days Year365Days units to Month and Year
* Fix plural naming of Pressure.KilogramsForcePerSquareCentimeterInOnePascal
* Fix plural naming of Ratio.PartsPer-units
* Custom units added manually via UnitSystem.MapUnitToAbbreviation()

Fixes:
* Fall back to US English culture when parsing/getting abbreviations
* Fall back to custom string if no abbreviation defined for unit

Behind the scenes:
* Replace T4 templates with PowerShell + JSON templates
* Support custom tolerance per unit in tests
* Support decimal and long base unit types (decimal used in Information unit)
* Move code more consistently into Custom/GeneratedCode folders
* Fix misc R# warnings
* Match R# cleanup profile in generated code