Skip to content

Latest commit

 

History

History
12 lines (11 loc) · 570 Bytes

File metadata and controls

12 lines (11 loc) · 570 Bytes

unit

unit is a small util, written in Python, which allows to convert units to one another

Syntax

  • help prints this page
  • <unit_name> prints information about the unit, in the form name (dimensioning) SI_value
  • list lists all default units
  • varlist lists all default units' variable names
  • <unit_name> -> <unit_name> converts first unit to second
  • <unit_name> to <unit_name> same as above
  • <amount> <unit_name> -> <unit_name> converts given quantity of the first unit to the second unit
  • <amount> <unit_name> to <unit_name> same as above