jit.expr question

Tobias Rosenberger's icon

i use an expression expr ((cell[0]%in[1])/in[1]+norm[1])%1. to generate normed values that shift vertically one cell each column. I don't understand why sometimes 0.95 is followed by 0.00 (1.00 would be expected) and why sometimes 0.99 is the highest value in a row? see attached patch...

Max Patch
Copy patch and select New From Clipboard in Max.

Did i made a mistake with that expression?

Jesse's icon

I think that would be because of the %1. at the end of the expr.

Tobias Rosenberger's icon

but why sometimes 1. f.e. in second row? also if i try to increase to %1.01 instead, i will get 1.01 in some of the columns...