Gets the value of this quantity when expressed in the given target unit.
If Q is a QVariant, throws a DimensionException if the parsed quantity
doesn't have the same dimensions as Q. If Q is a Quantity, inconsistent
dimensions produce a compilation error.
Gets the value of this quantity when expressed in the given target unit.
If Q is a QVariant, throws a DimensionException if the parsed quantity doesn't have the same dimensions as Q. If Q is a Quantity, inconsistent dimensions produce a compilation error.