1UNITS(1) General Commands Manual UNITS(1)
2
3
4
6 units - conversion program
7
9 units
10
12 Units converts quantities expressed in various standard scales to their
13 equivalents in other scales. It works interactively in this fashion:
14
15 You have: inch
16 You want: cm
17 * 2.54000e+00
18 / 3.93701e-01
19
20 A quantity is specified as a multiplicative combination of units
21 optionally preceded by a numeric multiplier. Powers are indicated by
22 suffixed positive integers, division by the usual sign:
23
24 You have: 15 pounds force/in2
25 You want: atm
26 * 1.02069e+00
27 / 9.79730e-01
28
29 Units only does multiplicative scale changes. Thus it can convert
30 Kelvin to Rankine, but not Centigrade to Fahrenheit. Most familiar
31 units, abbreviations, and metric prefixes are recognized, together with
32 a generous leavening of exotica and a few constants of nature includâ
33 ing:
34
35 pi ratio of circumference to diameter
36 c speed of light
37 e charge on an electron
38 g acceleration of gravity
39 force same as g
40 mole Avogadro's number
41 water pressure head per unit height of water
42 au astronomical unit
43
44 `Pound' is a unit of mass. Compound names are run together, e.g.
45 `lightyear'. British units that differ from their US counterparts are
46 prefixed thus: `brgallon'. Currency is denoted `belgiumfranc',
47 `britainpound', ...
48
49 For a complete list of units, `cat /usr/lib/units'.
50
52 /usr/lib/units
53
55 Don't base your financial plans on the currency conversions.
56
57
58
59 UNITS(1)