Creates a new monodimensional unit.
enum euro = unit!(double, "C"); // C for Currency static assert(isQuantity!(typeof(euro))); enum dollar = euro / 1.35; assert((1.35 * dollar).value(euro).approxEqual(1));
See Implementation
Creates a new monodimensional unit.