Create a quantity from composed quantities #937
-
Hi all, I have been reading your samples with a great interest but I am not sure that I could achieve my goals with this lib... I have a quantity which is described by many values of differents units. Example:
Thank you |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
Hi, there is no direct support for this in the library today. |
Beta Was this translation helpful? Give feedback.
Hi, there is no direct support for this in the library today.
The best you can accomplish today, is something like
Volume.Parse("2 l") + Volume.Parse("9 dl") + Volume.Parse("3 ml")
.Or similar with
Volume.FromLiters(2) + ....
.