Measurement.Converters.CSharp 0.0.33

There is a newer version of this package available.
See the version list below for details.
dotnet add package Measurement.Converters.CSharp --version 0.0.33                
NuGet\Install-Package Measurement.Converters.CSharp -Version 0.0.33                
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="Measurement.Converters.CSharp" Version="0.0.33" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Measurement.Converters.CSharp --version 0.0.33                
#r "nuget: Measurement.Converters.CSharp, 0.0.33"                
#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 Measurement.Converters.CSharp as a Cake Addin
#addin nuget:?package=Measurement.Converters.CSharp&version=0.0.33

// Install Measurement.Converters.CSharp as a Cake Tool
#tool nuget:?package=Measurement.Converters.CSharp&version=0.0.33                

.net 6 C#

Features

  • mass converter for → g, kg, lb, oz, st, mg, dg, cg, μg, dag, hg, Mg, t,
  • volume converter for-> mL, L, floz, μL, cL, daL, dL, hL, kL, ML, gal_i, pt_i(Imperial)
  • length converter for → cm, m, inch, yard, ft, km, dm, mm, μ, mi, NM
  • speed converter for → mph, kph, fps, mps, knot, mach
  • energy converter for → J, kJ, cal, kcal, kW, BTU, eV

Example of usage

all converters follow the same pattern /converter name/.Convert(amount, CurrentUnit, RequiredUnit)

C# VolumeConvertor.Convert(1,VolumeUnit.ml,VolumeUnit.pt_i)

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 was computed.  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 was computed.  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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
  • net6.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
0.0.35 747 2/7/2023
0.0.34 760 1/6/2022
0.0.33 684 1/5/2022
0.0.32 691 1/5/2022
0.0.31 813 1/5/2022
0.0.3 833 1/5/2022
0.0.2 853 1/4/2022

Added converters for speed, Energy, Length and included additonal  MassUnits  and VolumeUnits