So I assigned a floatproperty inside my script. As I moved along I noticed differences that was unexplainable. SO I started to check the properties and how the system take care of them.
Result is
lenght1: FloatProperty(
name="Lenght1", unit="LENGTH", default=40.0 / 1000,
)
Prints as
As you can see, the property that is 40 became 39.9xx?
Any idea if this is a bug?
Since I do a lot of calculations this becomes an issue and some results get off by more then 1 which is a no no

length1: bpy.props.StringProperty()and thenlength1 = "40.0") This is a very well know problem with computer calculations and optimization. – Gorgious Nov 30 '21 at 08:18