A.2.1.5 Quantities

Quantities are real or complex numbers followed by a unit. Units consist of valid unit names (for instance $ \mathrm{~A}$ for $ \mathrm{~Ampere}$). A unit can be composed of several unit names. In this case the whole unit must be enclosed in double quotes.

3.0 A                     // OK
5.5 "V*A"                 // OK
7.4 j "A"                 // OK
(-5.2 + 4.3 j) * 1 "V*A"  // OK
4.7 "hello"               // Error! No valid unit given.

Exponents can be used too, e.g.,

0.1 "A/cm^2"
4.2 "kg*m/s^2"

Robert Klima 2003-02-06