Equality component doesn´t work - although I already anticipate it´s my fault

Dearest Community, I´m having a problem with the equality component.

or this one:

I´m trying to follow the tutorial on think parametric.com and I get stuck at the point where we want to filter out the Points on the edges of the surface. Why isn´t the Equality component setting index 2 on true...

confused greetings and good morning (well it´s lunchtime already)

Flo

The Definition so far..:

Honeycomb%20on%20Surface%20Tut%20from%20parametric%20thinking.gh

p.s. flattening the distances doesn´t help

p.p.s: as you can see the point aren´t projected on the edges correctly. I tried to fix this for hours with several experiments wich all worked only this one doesn´t. Why? No Comprende...

Solution to Problem :  decoding the Distance values through an Integegers Component... 

  • Danny Boyes

    It's called Floating Point maths.

    Your computer needs to convert everything into binary in order to do anything. Binary and decimal places are not very compatibly (to a certain degree)

    the question what is 0.1 + 0.3 = ? is often asked of software developers. 

    have a look at this site: http://0.30000000000000004.com/

  • Danny Boyes

    PS you need to post this in discussion forums so that the replies are editable after posting.

    It should have said 0.1 + 0.2 = ?

  • Valentin

    I dont know why? But I think you should try rounded your input data. Face please picture.