Measurement.Converters.CSharp 0.0.34

.NET 6.0
Install-Package Measurement.Converters.CSharp -Version 0.0.34
dotnet add package Measurement.Converters.CSharp --version 0.0.34
<PackageReference Include="Measurement.Converters.CSharp" Version="0.0.34" />
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.34
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Measurement.Converters.CSharp, 0.0.34"
#r directive can be used in F# Interactive, C# scripting and .NET Interactive. 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.34

// Install Measurement.Converters.CSharp as a Cake Tool
#tool nuget:?package=Measurement.Converters.CSharp&version=0.0.34
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

<<<<<<< HEAD

.net 6 C#

main

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
  • temperature for → C, F, K, R

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 Versions
.NET net6.0 net6.0-android net6.0-ios net6.0-maccatalyst net6.0-macos net6.0-tvos net6.0-windows
Compatible target framework(s)
Additional computed target framework(s)
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.34 87 1/6/2022
0.0.33 69 1/5/2022
0.0.32 75 1/5/2022
0.0.31 130 1/5/2022
0.0.3 133 1/5/2022
0.0.2 146 1/4/2022

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