Skip to content

Retrieve a Quantity Unit from given BaseUnits #1014

Answered by angularsen
devel0 asked this question in Q&A
Discussion options

You must be logged in to vote

Hi, the idea with BaseUnits is to describe the 7 SI base units from which all other SI units can be derived.
https://en.wikipedia.org/wiki/SI_base_unit

I believe it was introduced as an experiment to be able to configure default units in an application (meter, centimeter, foot). If Length was configured to centimeters, then derived units like area and volume would also automatically be square/cubic centimeters.

It also somewhat helps you represent that Area * Area / Length = Volume by defining arithmetic for the dimensions, but you currently can't multiply two IQuantity of unknown quantity type and unit and get a result back.

The problem is that we have many non-SI units. In addition, mul…

Replies: 2 comments 4 replies

Comment options

You must be logged in to vote
4 replies
@mwagnerEE
Comment options

@angularsen
Comment options

@mwagnerEE
Comment options

@mwagnerEE
Comment options

Answer selected by devel0
Comment options

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