Quantity
[magnitude, unit]Quantity
[unit]Quantity["Kilogram"]
Quantity[10, "Meters"]
If the first argument is an array, then the unit is distributed on each element
Quantity[{10, 20}, "Meters"]
If the second argument is a number, then the expression is evaluated to
the product of the magnitude and that number
Quantity[2, 3/2]
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:
QuantityQ[Quantity[2, Second]]
Quantities can be multiplied and raised to integer powers:
Quantity[3, "centimeter"] / Quantity[2, "second"]^2
Quantities of the same kind can be added:
Quantity[6, "meter"] + Quantity[3, "centimeter"]
Quantities of different kind can not:
Quantity[6, "meter"] + Quantity[3, "second"]