Division (Whole and Remainder) Is Incorrect

Hey I’m not sure why but putting the node in a function of its own seamed to fix my results not sure why, thanks for the help twiddle :slight_smile: