{"repo":"angularsen/UnitsNet","free":true,"listed":false,"github":"https://github.com/angularsen/UnitsNet","clone":"git clone https://github.com/angularsen/UnitsNet.git","description":"Makes life working with units of measurement just a little bit better.","language":"C#","stars":2967,"topics":["conversion","units-of-measure","units","powershell","csharp","quantities","unit-converter","abbreviations","parse","quantity"],"license":"MIT-0","category":"cli-tools","readme_excerpt":"Units.NET Add strongly typed quantities and units to your code and get merrily on with your life. No more magic constants found online or guessing the unit of variables. Changes ℹ️ The master branch now targets v6, but it is still in pre-release. New units will be backported to maintenance/v5 until v6 becomes stable. Upgrading from 5.x to 6.x Upgrading from 4.x to 5.x 🧪 Experimental: Check out UnitsNet.Modular, which generates only the quantities and units your application needs. Overview Overview Installing via NuGet Static Typing Operator Overloads Culture and Localization Dynamically Parse Quantities and Convert to Units Custom units Example: Unit converter app Example: WPF app using IValueConverter to parse input Precision and Accuracy Serialize to JSON, XML and more Want To Contribute? Units.NET on other platforms Continuous Integration Who are Using This? Top Usages by GitHub Repos Installing via NuGet Add it via CLI: or go to NuGet Gallery UnitsNet for detailed instructions. Build Targets .NET Standard 2.0 .NET 8.0 (LTS) .NET 9.0 (latest stable) .NET 10.0 (preview) Extension Packages UnitsNet.NumberExtensions.CS14 (C# 14 Extension Members) For C# 14 projects, use the new extension members syntax (no parentheses): Note: Requires ' preview ' and .NET 10 SDK preview for now. UnitsNet.NumberExtensions (Classic) For C# 13 and lower (.NET SDK 9 or lower), use the classic extension methods: Static Typing Operator Overloads Culture and Localization The culture for abbreviatio","default_branch":null,"files":null,"tree":[],"storefront":"/r/angularsen","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/angularsen/UnitsNet/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}