Add strongly typed quantities to your code and get merrily on with your life. No more magic constants found on Stack Overflow, no more second-guessing the unit of parameters and variables. Get all the common units of measurement and the conversions between them. It is lightweight and thoroughly tested. 100+ quantities with 1200+ units generated from JSON by C# CLI app. 8000+ unit tests on conversions and localizations. Conforms to Microsoft's open-source library guidance. SourceLink to step into source code of NuGet package while debugging. Strong naming to make the library available to all developers. Immutable structs that implement IEquatable, IComparable. Statically typed quantities and units to avoid mistakes and communicate intent. Operator overloads for arithmetic on quantities. Parse and ToString() supports cultures and localization. Dynamically parse and convert quantities and units. Extensible with custom units. You can create a unit converter app.

Features

  • Operator overloads for arithmetic on quantities
  • Parse and ToString() supports cultures and localization
  • Dynamically parse and convert quantities and units
  • Extensible with custom units
  • Precision and accuracy
  • Continuous integration posts status reports to pull requests and commits

Project Samples

Project Activity

See All Activity >

License

MIT License

Follow Units.NET

Units.NET Web Site

Other Useful Business Software
Securden Privileged Account Manager Icon
Securden Privileged Account Manager

Unified Privileged Access Management

Discover and manage administrator, service, and web app passwords, keys, and identities. Automate management with approval workflows. Centrally control, audit, monitor, and record all access to critical IT assets.
Learn More
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of Units.NET!

Additional Project Details

Operating Systems

Windows

Programming Language

C#

Related Categories

C# Test and Measurement Software

Registered

2022-06-09