LabApps.Units
0.3.35
Prefix Reserved
.NET 5.0
.NET Standard 2.0
Install-Package LabApps.Units -Version 0.3.35
dotnet add package LabApps.Units --version 0.3.35
<PackageReference Include="LabApps.Units" Version="0.3.35" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add LabApps.Units --version 0.3.35
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: LabApps.Units, 0.3.35"
#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 LabApps.Units as a Cake Addin
#addin nuget:?package=LabApps.Units&version=0.3.35
// Install LabApps.Units as a Cake Tool
#tool nuget:?package=LabApps.Units&version=0.3.35
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
Units
A dimensionally accurate units of measurement library for the SI MKS (metre-kilogram-second) system. Suitable for calculations in classical physics.
Build Targets
- .NET Standard 2.0
Example
Length l = 9.8.Metres();
Time t = new Time(1.0, "s");
Acceleration a = l / t / t;
$"{a}".Should().Be("9.8 m¹s⁻²");
Force f = 1.0.Tonnes() * a;
$"{f.Quantity.Amount} {f.Quantity.Unit}".Should().Be("9.8 kN");
Future plans
- more dimensions such as temperature, molecular amount, lux;
- support for other systems such as MTS, FPS, CGS etc.
Product | Versions |
---|---|
.NET | net5.0 net5.0-windows net6.0 net6.0-android net6.0-ios net6.0-maccatalyst net6.0-macos net6.0-tvos net6.0-windows |
.NET Core | netcoreapp2.0 netcoreapp2.1 netcoreapp2.2 netcoreapp3.0 netcoreapp3.1 |
.NET Standard | netstandard2.0 netstandard2.1 |
.NET Framework | net461 net462 net463 net47 net471 net472 net48 |
MonoAndroid | monoandroid |
MonoMac | monomac |
MonoTouch | monotouch |
Tizen | tizen40 tizen60 |
Xamarin.iOS | xamarinios |
Xamarin.Mac | xamarinmac |
Xamarin.TVOS | xamarintvos |
Xamarin.WatchOS | xamarinwatchos |
Compatible target framework(s)
Additional computed target framework(s)
Learn more about Target Frameworks and .NET Standard.
-
.NETStandard 2.0
- System.Collections.Immutable (>= 6.0.0)
-
net5.0
- System.Collections.Immutable (>= 6.0.0)
-
net6.0
- System.Collections.Immutable (>= 6.0.0)
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.3.35 | 45 | 5/6/2022 |
0.3.34 | 54 | 4/29/2022 |
0.3.33 | 48 | 4/28/2022 |
0.3.32 | 55 | 4/27/2022 |
0.3.22 | 128 | 12/21/2021 |
0.3.19 | 198 | 8/1/2021 |
0.3.17 | 171 | 7/8/2021 |
0.3.16 | 142 | 6/13/2021 |
0.3.15 | 206 | 5/30/2021 |
0.3.14 | 174 | 5/10/2021 |
0.3.8 | 151 | 4/15/2021 |
0.3.4 | 213 | 1/17/2021 |
0.3.3 | 193 | 1/17/2021 |
0.2.5 | 480 | 4/20/2019 |
0.2.4 | 554 | 8/30/2018 |
0.2.3 | 526 | 8/26/2018 |
0.2.2 | 532 | 8/26/2018 |
0.2.1 | 547 | 8/25/2018 |
0.1.16 | 689 | 6/1/2018 |
0.1.15 | 658 | 5/29/2018 |
0.1.14 | 558 | 5/28/2018 |
0.1.13 | 640 | 5/8/2018 |
0.1.12 | 645 | 5/8/2018 |
0.1.11 | 673 | 5/8/2018 |
0.1.10 | 643 | 5/8/2018 |
0.1.9 | 628 | 5/7/2018 |
0.1.8 | 636 | 5/5/2018 |
0.1.7 | 657 | 5/4/2018 |
0.1.5 | 749 | 5/1/2018 |
0.1.4 | 621 | 4/30/2018 |
0.1.3 | 671 | 4/25/2018 |
0.1.2 | 692 | 4/25/2018 |
0.1.1 | 676 | 4/25/2018 |