We have MOD block, but where is the DIV block
(or the better way to program the block)
-->10 DIV 4 = 2
10 MOD 4 = 5
We have MOD block, but where is the DIV block
(or the better way to program the block)
-->10 DIV 4 = 2
10 MOD 4 = 5
I don't understand.
not the opposite: example 10/4 = 2.5
10 div 4 should return 2 in this case (the quotient)
10 mod 4 should return 2 in this case (the reminder)
Thank's ! exactly this !
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.