Creates a new quantity from another one with the same dimensions.
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.
See Implementation
Creates a new quantity from another one with the same dimensions.
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.