I’m creating an dynamic component.

But i need to get the remainder of a division.

Example:

I need to check if the result of my lenght % tiles is equal = 0 or 1.

0 for integer withou remainder number and 1 for decimal numbers.

to get a remainder you take an integer from a real

num/parts - int(num/parts) = remainder

if(num/parts - int(num/parts),1,0)