Convert a quantity to another one with the same dimensions.
import quantities.si : minute, second; import std.math : approxEqual; auto min = 2 * minute; auto sec = min.convert(second); assert(sec.value(second).approxEqual(120.0));
See Implementation
Convert a quantity to another one with the same dimensions.