Modulo?

Good example case for modulo is splitting items in a row. Lets say we have 20 items that needs to be placed in rows of 6 items. X modulo 6 = Y in loop (X =0-19, Y=remainder) would output numbers between 0 and 5 which we can use to populate each row

1 Like