QuantityTypes 4.99.4

There is a newer version of this package available.
See the version list below for details.
The owner has unlisted this package. This could mean that the package is deprecated, has security vulnerabilities or shouldn't be used anymore.
dotnet add package QuantityTypes --version 4.99.4
NuGet\Install-Package QuantityTypes -Version 4.99.4
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="QuantityTypes" Version="4.99.4" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add QuantityTypes --version 4.99.4
#r "nuget: QuantityTypes, 4.99.4"
#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 QuantityTypes as a Cake Addin
#addin nuget:?package=QuantityTypes&version=4.99.4

// Install QuantityTypes as a Cake Tool
#tool nuget:?package=QuantityTypes&version=4.99.4

# QuantityTypes

## Features

- [Strongly typed](http://en.wikipedia.org/wiki/Strong_typing) arithmetics of [physical quantities](http://en.wikipedia.org/wiki/Physical_quantity)
- Implemented as [value types](https://msdn.microsoft.com/en-us/library/s1ax56ch.aspx)
- Parsing from strings
- Formatting to strings
- Operators
- Unit conversion
- Extendable (create more quantity types, add units)
- Configurable (set default units for parsing and formatting)
- [NuGet package](QuantityTypes)

## Examples

``` csharp
Length s = 100 * Length.Metre;
Time t = 9.58 * Time.Second;
Velocity v = s / t;
Console.WriteLine(v);
Console.WriteLine(v.ToString("0.00[km/h]"));
Console.WriteLine("Speed: {0:0.00[!km/h] kmph}", v);
Mass m = Mass.Parse("92 kg");
double massInPounds = m / Mass.Pound;
Temperature temp = 100 * Temperature.DegreeCelsius;
double tempInFahrenheit = temp.ConvertTo(Temperature.DegreeFahrenheit);
```
# Change Log

## 5.0.0

### Added
- GitHub workflows (#113)
- Publish to GitHub packages (#114)
- Examples with System.Text.Json (#108)

### Removed
- net45 target (#109)

## 4.0.0
### Added
- Imperial units
- NaN, PositiveInfinity and NegativeInfinity quantities (#83)
- LinearMassDensity (#82)
- Scandinavian mile length unit (#88)
- Custom length example (#89)

### Changed
- Target netstandard1.3 and net45 (#97)

### Fixed
- Null reference exception in QuantityJsonConverter (#85)
- Migrate projects to netstandard (#94)
- TryParse of `null` should return `false` (#96)

## 3.0.1
### Changed
- IQuantity depends on IXmlSerializable - changed XML serialization  (#62)
- Xml serialization without units (#66)
- Moved CSV functionality to QuantityTypes.Csv (#67)
- Moved dynamic types to separate project (#71)
- Signing the QuantityTypes assembly (#51)

### Added
- t/m^3 density unit (#80)
- TimeSpan extension methods (#43)
- Format with conversion, without showing unit (#52)
- Moment type (#11)

### Fixed
- lb/gal unit (#1)

## 2.0.1
### Changed
- Target netstandard 1.0

## 2.0.0
### Changed
- Target netstandard 1.1

## 1.1.0
### Added
- Torque units: N*cm, N*mm (#8)
- Use GitHub as source server (#12)
- Unit prefixes and operator overloads for electrical units
- Lighting calculations

### Changed
- Refactor UnitProvider.RegisterUnits to extension methods (#6)
- Rename DegreeKelvin to Kelvin and delete "degK" unit (#30)
- Case sensitive unit prefixes
- Switch PCL project to profile 328

### Fixed
- Support parsing of "'" units (#20)

Product Compatible and additional computed target framework versions.
.NET net5.0 was computed.  net5.0-windows was computed.  net6.0 was computed.  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. 
.NET Core netcoreapp1.0 was computed.  netcoreapp1.1 was computed.  netcoreapp2.0 was computed.  netcoreapp2.1 was computed.  netcoreapp2.2 was computed.  netcoreapp3.0 was computed.  netcoreapp3.1 was computed. 
.NET Standard netstandard1.3 is compatible.  netstandard1.4 was computed.  netstandard1.5 was computed.  netstandard1.6 was computed.  netstandard2.0 was computed.  netstandard2.1 was computed. 
.NET Framework net46 was computed.  net461 was computed.  net462 was computed.  net463 was computed.  net47 was computed.  net471 was computed.  net472 was computed.  net48 was computed.  net481 was computed. 
MonoAndroid monoandroid was computed. 
MonoMac monomac was computed. 
MonoTouch monotouch was computed. 
Tizen tizen30 was computed.  tizen40 was computed.  tizen60 was computed. 
Universal Windows Platform uap was computed.  uap10.0 was computed. 
Xamarin.iOS xamarinios was computed. 
Xamarin.Mac xamarinmac was computed. 
Xamarin.TVOS xamarintvos was computed. 
Xamarin.WatchOS xamarinwatchos was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (1)

Showing the top 1 NuGet packages that depend on QuantityTypes:

Package Downloads
QuantityTypes.Csv

Provides CSV reading and writing, with support for QuantityTypes.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
5.0.0 23,138 6/26/2023
4.0.0 83,089 10/10/2017
3.0.2 1,121 9/1/2017
3.0.1 2,560 10/17/2016
3.0.0 1,401 10/17/2016
2.0.1 1,239 10/5/2016
2.0.0 3,899 10/5/2016
1.1.1 1,126 9/27/2016
1.1.0 1,648 9/19/2016
1.0.0 1,563 9/19/2016