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 | 82 | 5/6/2022 |
0.3.34 | 69 | 4/29/2022 |
0.3.33 | 72 | 4/28/2022 |
0.3.32 | 71 | 4/27/2022 |
0.3.22 | 146 | 12/21/2021 |
0.3.19 | 208 | 8/1/2021 |
0.3.17 | 192 | 7/8/2021 |
0.3.16 | 164 | 6/13/2021 |
0.3.15 | 219 | 5/30/2021 |
0.3.14 | 191 | 5/10/2021 |
0.3.8 | 173 | 4/15/2021 |
0.3.4 | 231 | 1/17/2021 |
0.3.3 | 219 | 1/17/2021 |
0.2.5 | 504 | 4/20/2019 |
0.2.4 | 594 | 8/30/2018 |
0.2.3 | 561 | 8/26/2018 |
0.2.2 | 563 | 8/26/2018 |
0.2.1 | 579 | 8/25/2018 |
0.1.16 | 735 | 6/1/2018 |
0.1.15 | 721 | 5/29/2018 |
0.1.14 | 598 | 5/28/2018 |
0.1.13 | 689 | 5/8/2018 |
0.1.12 | 702 | 5/8/2018 |
0.1.11 | 723 | 5/8/2018 |
0.1.10 | 693 | 5/8/2018 |
0.1.9 | 674 | 5/7/2018 |
0.1.8 | 682 | 5/5/2018 |
0.1.7 | 709 | 5/4/2018 |
0.1.5 | 802 | 5/1/2018 |
0.1.4 | 667 | 4/30/2018 |
0.1.3 | 712 | 4/25/2018 |
0.1.2 | 739 | 4/25/2018 |
0.1.1 | 732 | 4/25/2018 |