Measurement.Converters.CSharp 0.0.35

dotnet add package Measurement.Converters.CSharp --version 0.0.35
NuGet\Install-Package Measurement.Converters.CSharp -Version 0.0.35
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.35" />
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.35
#r "nuget: Measurement.Converters.CSharp, 0.0.35"
#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.35

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

.net 7 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
  • 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 Compatible and additional computed target framework versions.
.NET 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 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.
  • net7.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 675 2/7/2023
0.0.34 713 1/6/2022
0.0.33 655 1/5/2022
0.0.32 651 1/5/2022
0.0.31 772 1/5/2022
0.0.3 791 1/5/2022
0.0.2 819 1/4/2022

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