Andreas Gullberg Larsen

Results 259 comments of Andreas Gullberg Larsen

No release date for v6 yet, some work still remains and there are already pretty big changes in there, so I plan to keep prerelease versions out for some time...

Cool, keep me posted on how it works out 🙌

I'm a little hesitant to add this one, sorry. To me, it seems this is not widely used enough? As outlined in https://github.com/angularsen/UnitsNet/wiki/Adding-a-New-Unit#great--but-before-you-start-, we simply have to say no sometimes...

Okay on second thought, you are just asking about some extra units on `Duration`. That is fair. My mind went to new quantity for some reason. Let's add it!

I'm fine with adding Sol day, but does month and year have an exact and well defined duration or do they have issues like leap years and varying month durations...

Sorry for late reply, yes this seems useful and something similar has been requested before. The example seems to work quite nicely. The only thing that I kind of miss,...

One thing, it may be better to have the method return the unit, so that we can reuse the `ToString()` and all its overloads. Also throw if no units are...

I don't know what the correct term is, but I'd expect something like `ToRatioString()` to output on the format `1:3` for 1 to 3 ratio. This could be a method...

There is some similar work here, for `FeetInches.ToArchitecturalString()`: https://github.com/angularsen/UnitsNet/blob/a95e33fafa466bf27706b54fd6ea9069a9dce97c/UnitsNet/CustomCode/Quantities/Length.extra.cs#L238-L314 Maybe it can be reused or take inspiration from.

I'm not entirely sure what you are asking for. Are you not able to use `decimal` in `RelativeDensity`? You can implement `IValueQuantity` to expose `decimal` output values, similar to how...