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.
You can create and modify different environments to define conversion and the way the output of the units
are converted.
If you use this class in IPython you get your terms printed in nice LaTeX format.
Follow Unit Var
Other Useful Business Software
Gen AI apps are built with MongoDB Atlas
MongoDB Atlas provides built-in vector search and a flexible document model so developers can build, scale, and run gen AI apps without stitching together multiple databases. From LLM integration to semantic search, Atlas simplifies your AI architecture—and it’s free to get started.
Rate This Project
Login To Rate This Project
User Reviews
Be the first to post a review of Unit Var!