Can quantities of diferent dimensions be mixed together? #533
Unanswered
tonicebrian
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Maybe I haven't grokked the API but, is it possible to mix quantities of different dimensions?
Say that I have a CSV with some prices from a catalog. Some prices will be expressed in
kilograms, others inmeters, etc. Say I have this catalog:In my CSV reader what would be the type of column
quantity,Quantity[A <: Quantity[A]]???And how would I create a specialized parser that is able to read meters and kilograms?
Beta Was this translation helpful? Give feedback.
All reactions