Skip to content

Make conversions involving multiple units. #1228

Closed Answered by angularsen
amine-aboufirass asked this question in Q&A
Discussion options

You must be logged in to vote

Yes, if there are defined units with those abbreviations, then you can.

VolumeFlow.Parse("5 m³/s").ToUnit(VolumeFlow.ParseUnit("L/day"))

Note that m3/s is not defined, but m³/s is. If needed, you can add the m3/s unit abbreviation too.
https://github.com/angularsen/UnitsNet/wiki/Adding-a-New-Unit

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by angularsen
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants