What the \ operator really does


#1

This is just an observation that may be of assistance to some users.

For some reason, I have always thought that the \ operator carried out a conventional division and extracted the integer component of the result, in other words, I thought a\b was the same as int(a/b). It is, of course, int(int(a)/int(b))

Of course, it would have helped if I’d read the documentation a little more carefully. Anyway, if there is anybody else out there as foolish as I am, this post will be of assistance.

michael