yanzco
(yanzco)
1
for grid purposes, i need to find multiples of X in a given range (Y and Z)…
ex:
given: Range Y and Z = 30, 200 and X = 32
from the range of 30 to 200 what are the multiples of 32
answer: 32,64,96,128,160,192
whats the algo in this?
confused ::
i need it for snapping my actors in a line
Everynone
(Everynone)
2
There’s no exception handling here, so don’t try searching for negative values or worse, the zero:
Inph1del
(Inph1del.📺)
3
Take your number and divide it by 32 , branch of if % remainder is zero
yanzco
(yanzco)
4
thanks Everynone, I’ll try that… 