Make conversions involving multiple units. #1228
-
Is it possible to convert from, say m3/s to L/day using this library? |
Beta Was this translation helpful? Give feedback.
Answered by
angularsen
Mar 17, 2023
Replies: 1 comment
-
Yes, if there are defined units with those abbreviations, then you can. VolumeFlow.Parse("5 m³/s").ToUnit(VolumeFlow.ParseUnit("L/day")) Note that |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
angularsen
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Yes, if there are defined units with those abbreviations, then you can.
Note that
m3/s
is not defined, butm³/s
is. If needed, you can add them3/s
unit abbreviation too.https://github.com/angularsen/UnitsNet/wiki/Adding-a-New-Unit