unitconv command

Summary

Unit conversion command

Description

This command allows you to convert numbers from one unit to another compatible unit, provided that you've specified the unit type, like Length, Area, and so on.

If you want to see the full list of all supported units by the UnitsNet library, check out its help command where it lists all possible units.

Command usage

  • unitconv <unittype> <quantity> <sourceunit> <targetunit>

Examples

  • unitconv Length 20 cm m: Converts 20 centimeters to meters

Last updated