UnitsNet icon indicating copy to clipboard operation
UnitsNet copied to clipboard

Makes life working with units of measurement just a little bit better.

Results 115 UnitsNet issues
Sort by recently updated
recently updated
newest added

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+...

enhancement
pinned

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...

enhancement

**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]...

enhancement

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...

enhancement
help wanted
difficulty-medium
pinned

**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...

bug
pinned

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...

pinned

### 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....

enhancement
pinned

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...

bug
breaking-change
pinned

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...

enhancement
pinned

(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...

pinned