Quantity

WMA link


Quantity[magnitude, unit]

represents a quantity with size magnitude and unit specified by unit.

Quantity[unit]

assumes the magnitude of the specified unit to be 1.

If the first argument is an array, then the unit is distributed on each element

If the second argument is a number, then the expression is evaluated to
the product of the magnitude and that number

Notice that units are specified as Strings. If the unit is not a Symbol or a Number,
the expression is not interpreted as a Quantity object:

Quantities can be multiplied and raised to integer powers:

Quantities of the same kind can be added:

Quantities of different kind can not:

KnownUnitQ
QuantityMagnitude