Closed connorferster closed 1 year ago
Upon instantiation, any int values should get converted to floats, e.g. 10 * m -> 10.0 m.
int
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).
TypeError
float(obj)
.value
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 callingfloat(obj)
if the.value
attribute is anint
(type non-float returned).