UnitsNet
UnitsNet copied to clipboard
Makes life working with units of measurement just a little bit better.
Blocks #1181 `QuantityType` enum is already deprecated and will be removed in #982 in order to better support third-party quantities and units. The same could be done for the 100+...
Hello ! I'd like to add in a new unit for flexural modulus (also called [section modulus](https://en.wikipedia.org/wiki/Section_modulus)). Just wanted to check with everyone if this is okay or if someone's...
**Is your feature request related to a problem? Please describe.** Several different quantities related to heat flow resistance exist. According to Wikipedia (https://en.wikipedia.org/wiki/Thermal_resistance) they are named * Thermal resistance [K/W]...
I just stumbled across this awesome article: https://www.freecodecamp.org/news/put-your-dev-env-in-github/ I had heard about remote containers and VSCode's integration with Docker and WSL, but this is the first time I realized how...
**Describe the bug** Adding BaseUnits for Angstrom results in test failures due to UnitSystem logic. The BaseUnits for Armstrongs are coming as the first QuantityInfo in the UnitSystem constructor since...
Experimenting with https://devblogs.microsoft.com/dotnet/preview-features-in-net-6-generic-math/ Example: ```cs public interface IQuantity : IAdditionOperators, IParseable, IComparisonOperators, IAdditiveIdentity where TQuantity : IQuantity { static abstract TQuantity Zero { get; } } ``` Allows us to...
### Generic Types Right now, UnitsNet can only support "double" types. If you use generic types on the quantities you can allow for support of other types than just double....
The default formatting of numbers (in QuantityFormatter.cs), when no explicit culture is given, should use `CultureInfo.CurrentCulture` not `CultureInfo.CurrentUICulture`. On Windows, the first corresponds to the selection from the control panel...
We're currently considering to use this library in https://github.com/dotnet/iot/ . We have initially started developing very similar APIs and then noticed this library so we decided to give it a...
(WIP) for #651 - [ ] 1. Redesign/Remove BaseUnits type and remove related from JSON and UnitSystem **(breaking change)** - [x] 2. UnitSystem: Add mapping of default unit, such as...