connorferster / forallpeople

Python SI units library: your 'daily driver' for calculations.
Apache License 2.0
295 stars 39 forks source link

Floats not enforced #76

Closed connorferster closed 1 year ago

connorferster commented 1 year ago

Upon instantiation, any int values should get converted to floats, e.g. 10 * m -> 10.0 m.

If not, it can cause a TypeError when calling float(obj) if the .value attribute is an int (type non-float returned).