Skip to content

Create a quantity from composed quantities #937

Answered by angularsen
lenyturmel asked this question in Q&A

You must be logged in to vote

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

Replies: 1 comment 3 replies

You must be logged in to vote
3 replies
@lenyturmel

@MuiBienCarlota

@angularsen

Answer selected by lenyturmel
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants