openrocketengine icon indicating copy to clipboard operation
openrocketengine copied to clipboard

Passing values as objects with units attached

Open cmflannery opened this issue 8 years ago • 1 comments

It would be cool to be able to pass objects instead of just floats or ints that include the variables units. This would make it much easier to read and follow, and much less likely to produce weird answers due to unit mismatch. I think astropy might have something like this. Leaving this here as something to look into down the road.

cmflannery avatar Nov 26 '17 09:11 cmflannery

Maybe this could work: https://pypi.org/project/units/

codeflight1 avatar Feb 07 '20 18:02 codeflight1