Unit Var
Automatic Units and Scale calculation in Python
Doing calculations in a programming language is done without the corresponding units.
This is a source of programming mistakes. In the units and in the scale.
This class try to solve this issue, buy instead of numbers use a class that contains both:
The number in int,float and the units / reciprocate units.
A conversion table is integrated, and preloaded with standard units. But you are not limited to those
units. You can define the units you want. You can select between manual register of units, automatic register.
...