hi,
I'm actually trying to develop a statistic that holds the values 0-3 for the card suits c, d, h, s. To accomplish that I subtract 1 of the flopcard identifier and divide by 13 (So the card values 1-13 should get mapped to 0, 14-26 to 1, etc.). Now I have a card suit identifier for each flopcard and would like to filter for things like flop1_suit = flop2_suit AND flop1_suit = flop3_suit (suited boards) but the problem is that the int values get rounded internally unlike to other programming languages where decimal places just get cut.
I used cast((id_flop2 - 1) / 13 as int) as format expression and on a Th 4h 4c board the values are flop1_suit: 3, flop2_suit: 2 but when I filter for flop1_suit != flop2_suit the board doesn't get filtered because internally flop1_suit is 2,61538 and flop2_suit 2,15384 and by casting to int flop1_suit gets rounded to 3 and flop2_suit gets rounded to 2. Do you have an idea how I can avoid that?