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
Enterprise-grade ITSM, for every business Icon
Enterprise-grade ITSM, for every business

Give your IT, operations, and business teams the ability to deliver exceptional services—without the complexity.

Freshservice is an intuitive, AI-powered platform that helps IT, operations, and business teams deliver exceptional service without the usual complexity. Automate repetitive tasks, resolve issues faster, and provide seamless support across the organization. From managing incidents and assets to driving smarter decisions, Freshservice makes it easy to stay efficient and scale with confidence.
Try it Free
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