Univertall 1.1.0

dotnet add package Univertall --version 1.1.0                
NuGet\Install-Package Univertall -Version 1.1.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="Univertall" Version="1.1.0" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Univertall --version 1.1.0                
#r "nuget: Univertall, 1.1.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.
// Install Univertall as a Cake Addin
#addin nuget:?package=Univertall&version=1.1.0

// Install Univertall as a Cake Tool
#tool nuget:?package=Univertall&version=1.1.0                

UniVertAll

UniVertAll is a versatile unit conversion library for .NET developers. It supports a wide range of units and provides a fluent API for easy and intuitive conversions. The library is compatible with multiple .NET versions, including .NET 6, .NET 7, .NET 8, and .NET 9.

Features

  • Comprehensive support for various units (length, mass, power, volume, etc.)
  • Fluent API for easy and intuitive conversions
  • Extensible with custom units and conversions
  • Robust error handling
  • Thread-safe
  • Compatible with multiple .NET versions
  • Packaged as a NuGet package for easy distribution

Usage

Sample Conversion

Here is an example of how to use the library for Power unit conversions:

using UnitConverter.Units.Power;

double watts = 746;
double horsepower = watts.ConvertPower()
        .From(PowerUnit.Watt)
        .To(PowerUnit.MetricHorsepower);
Console.WriteLine($"{watts} Watts is equal to {horsepower} Horsepower.");

Thank you for using UniVertAll! We hope it makes your unit conversion tasks easier and more efficient.

Product Compatible and additional computed target framework versions.
.NET net6.0 is compatible.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 is compatible.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 is compatible.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed.  net9.0 is compatible.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
  • net6.0

    • No dependencies.
  • net7.0

    • No dependencies.
  • net8.0

    • No dependencies.
  • net9.0

    • No dependencies.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
1.1.0 87 11/22/2024
1.0.0 105 11/19/2024