PIC is part 12F1822. I'm not getting the correct division remainder from the // operator. When the remainder contains a leading zero the result omits the zero. For example:
If value = 802 the remainder reported from a "value//100" operation is incorrectly reported as 2.
If value = 812 the remainder is correctly reported as 12.
Any ideas?
Bookmarks