Rca.Physical
1.0.42
There is a newer version of this package available.
See the version list below for details.
See the version list below for details.
dotnet add package Rca.Physical --version 1.0.42
NuGet\Install-Package Rca.Physical -Version 1.0.42
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="Rca.Physical" Version="1.0.42" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Rca.Physical --version 1.0.42
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Rca.Physical, 1.0.42"
#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 Rca.Physical as a Cake Addin #addin nuget:?package=Rca.Physical&version=1.0.42 // Install Rca.Physical as a Cake Tool #tool nuget:?package=Rca.Physical&version=1.0.42
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
Rca.Physical
Library to handle physical values, dimensions and units.
Core Features
- Basic calculation with physical values
Usage
//Use the helper classes, are provided for each physical dimension.
PhysicalValue myVoltageValue = Voltage.FromMillivolt(7410);
//Use the PhysicalValue constructor and select the unit from the common Units-Enum
PhysicalValue myCurrentValue = new(0.147, PhysicalUnits.Ampere);
//Use the overloaded ToString() method, to print out the value
Console.WriteLine(myVoltageValue);
//Fit the value to the best unit, and print in out with ToString(), also
Console.WriteLine(myCurrentValue.GetFittedPhysicalValue());
// The example displays the following output to the console:
// 7410 mV
// 147 mA
Credits
This library is made possible by contributions from:
- Elias Rümmler (@rmmlr) - core contributor
License
Rca.Physical is licensed under MIT. Refer to LICENSE for more information.
Contributions
Contributions are welcome. Fork this repository and send a pull request if you have something useful to add.
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net6.0 is compatible. 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. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
net6.0
- No dependencies.
NuGet packages (1)
Showing the top 1 NuGet packages that depend on Rca.Physical:
Package | Downloads |
---|---|
Rca.Physical.If97
Property library for water and steam according to the industrial formulation IAPWS-IF97. |
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated |
---|---|---|
1.0.52 | 174 | 2/12/2024 |
1.0.51 | 143 | 2/8/2024 |
1.0.50 | 380 | 4/17/2023 |
1.0.49 | 368 | 4/17/2023 |
1.0.48 | 480 | 4/16/2023 |
1.0.47 | 349 | 4/14/2023 |
1.0.46 | 413 | 3/10/2023 |
1.0.45 | 402 | 3/8/2023 |
1.0.43 | 771 | 3/2/2023 |
1.0.42 | 501 | 3/2/2023 |
1.0.41 | 419 | 3/2/2023 |
1.0.40 | 432 | 3/2/2023 |
1.0.39 | 405 | 3/1/2023 |
1.0.38 | 403 | 3/1/2023 |
1.0.34 | 708 | 3/1/2023 |
1.0.33 | 438 | 2/28/2023 |
1.0.32 | 419 | 2/28/2023 |
1.0.31 | 404 | 2/28/2023 |
1.0.28 | 422 | 2/27/2023 |
1.0.27 | 445 | 2/27/2023 |
1.0.26 | 414 | 2/27/2023 |
1.0.25 | 401 | 2/27/2023 |
1.0.24 | 409 | 2/27/2023 |
1.0.22 | 432 | 2/26/2023 |
1.0.0 | 438 | 2/24/2023 |