FSharp.Units
1.0.0
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 FSharp.Units --version 1.0.0
NuGet\Install-Package FSharp.Units -Version 1.0.0
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="FSharp.Units" Version="1.0.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add FSharp.Units --version 1.0.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: FSharp.Units, 1.0.0"
#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 FSharp.Units as a Cake Addin
#addin nuget:?package=FSharp.Units&version=1.0.0
// Install FSharp.Units as a Cake Tool
#tool nuget:?package=FSharp.Units&version=1.0.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
FSharp.Units
The main aim for this project was to produce conversion functions for the various units of measurement (listed below).
Example
Example of usage:
let fahrenheit = C.toFahrenheit 12.<C>
let celsius = C.create someValue
Each unit of measure then includes functions to convert to each for example, converting each Temperature unit of measure to each other Temperature - it also includes a function to take a value and apply a unit of measure to it.
Angle
* Degrees (deg)
* Gradians (grad)
* Milliradians (mrad)
* Minute Of Arc (arcmin)
* Radians (rad)
* Seconds Of Arc (arcseconds)
Area
* Acres (acre)
* Hectares (hectare)
* Square Feet (feet2)
* Square Inches (inch2)
* Square Kilometres (km2)
* Square Metres (m2)
* Square Miles (mile2)
* Square Yards (yard2)
Data Transfer Rate
* Bits Per Second (bps)
* GigaBits Per Second (Gbps)
* GigaBytes Per Second (GBps)
* Kibibits Per Second (Kibitps)
* KiloBits Per Second (kbps)
* KiloBytes Per Second (kBps)
* Mebibits Per Second (Mibit)
* MegaBits Per Second (Mbps)
* MegaBytes Per Second (MBps)
* TeraBits Per Second (Tbps)
* TeraBytes Per Second (TBps)
Energy
* Btu (btu)
* Calories (cal)
* ElectronVolts (eV)
* Foot Pounds (ftlb)
* Joules (J)
* Kilocalories (kCal)
* Kilojoules (kJ)
* Kilowatt Hours (kWh)
* US Therms (ustherm)
* Watt Hours (Wh)
Frequency
* Gigahertz (GHz)
* Hertz (Hz)
* Kilohertz (kHz)
* Megahertz (MHz)
Length
* Centimetres (cm)
* Feet (ft)
* Inches (inch)
* Kilometres (km)
* Metres (m)
* Miles (mile)
* Millimetres (mm)
* Nautical Miles (NM)
* Yards (yard)
Luminous Energy
* LumenHour (lmh)
* LumenMinute (lmmin)
* LumenSecond (lms)
* Talbot (T)
Luminous Intensity
* Candela (cd)
* Candlepower (Candlepower)
* Hefnerkerse (HK)
* Lumen Per Steradian (lmsr)
Magnetomotive Force
* Ampere-turns (AT)
* Gilberts (Gi)
Mass
* Grams (g)
* Kilograms (kg)
* Milligrams (mg)
* Ounces (oz)
* Pounds (lb)
* Stones (stone)
* Tonnes (tonne)
Pressure
* Atmospheres (atm)
* Bars (b)
* Pascals (Pa)
* Psi (psi)
* Torrs (Torr)
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net5.0 is compatible. 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. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
net5.0
- FSharp.Core (>= 6.0.1)
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 |
---|---|---|
1.0.15 | 638 | 2/17/2024 |
1.0.14 | 2,259 | 3/2/2023 |
1.0.13 | 270 | 12/16/2022 |
1.0.12 | 397 | 6/20/2022 |
1.0.11 | 428 | 2/14/2022 |
1.0.11-alpha | 152 | 2/13/2022 |
1.0.10-alpha | 152 | 1/27/2022 |
1.0.9-alpha | 145 | 1/25/2022 |
1.0.8-alpha | 144 | 1/25/2022 |
1.0.7-alpha | 136 | 1/22/2022 |
1.0.6-alpha | 131 | 1/18/2022 |
1.0.5-alpha | 159 | 1/10/2022 |
1.0.4-alpha | 136 | 1/5/2022 |
1.0.3-alpha | 142 | 1/1/2022 |
1.0.1-alpha | 163 | 12/20/2021 |
1.0.0 | 254 | 12/13/2021 |