Can't CMD evaluate module of negative numbers with set /a ?
90 % 7 matches 6 batches correctly, however -90 % 7 gives -6 instead of 1.
I thought he could rate -(90 % 7) , but that doesn't seem to be the case since (-90) % 7 also gives -6.
h:\uprof>set /a -90%7 -6 h:\uprof>set /a (-90)%7 -6
So, is this a limitation of the set of CMD / module operator?
source share