units — Convert Quantities Expressed in Standard Scales to Other Units

Synopsis

/usr/bin/units 

Description

units converts quantities expressed in various standard scales to their equivalents in other scales. It works interactively in the following way. Type units to start the command. A you have: prompt is displayed. Type the first standard scale and press Return. A you want: prompt is displayed. Type the second standard scale and press Return.The results are displayed as shown in the following examples.

castle% units 
you have: inch 
you want: cm 
        * 2.540000e+00 
        / 3.937008e-01 
you have: 15 lbs force/in2 
you want: atm 
        * 1.020689e+00 
        / 9.797299e-01 
you have: 3 teaspoon 
you want: tablespoon 
        * 1.000000e+00 
        / 1.000000e+00 
you have: 45 liters

Get Solaris™ 7 Reference now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.