Comparing two equal transform give me they are not equal

What sort of magic is this ?

I compare two transform and this return me false, sometime, it return me true

here example of two transform value as see in debug:

and my function comparetransform

Its probably something my tired eyes cant see, but, i cant see what :o

Each time i watch my transform in debug, they seem to be equal, and the function return me 99% false, and sometimes it return me true 1% of time :o

ok that was my tired eyes :o :o :o, sometimes a float number isnt the same, difference is about +/- 0.000001

its due to the tinterpto function that return me something that i was expecting to be EQUAL to the target but it seem it return me different rounded number @ 0.000001

my bad :o

hmmm no… i did some other test and even if transform are equal it return me false

i am so tired, my brain dont understand, look at this:

btw, my first example too is totally equal, oh my god, i will be mad soon if i cant find why :o

It can happen, probably some decimals are off on the far end. Try using some sensitivity levels like accepting them equal if the absolute value of the difference between them is less than 0.0001. That should do the trick.