Grouping items not grouping correctly

Hi everyone,

I am grouping point based on either their “X” value or “Y” value, depending on whether or not the Boolean test == true or false.
It is working, but I’m getting some unexpected results as seen below.


the sublists 0 and 1 have exactly the same “Y” coordinate, but it is still putting them into two different lists? Can anyone tell me why this would be?

try to use Math.Round before grouping.

That worked!

Thanks very much Vijay!