• + 0 comments

    You don't need the if statement here. It's the same as writing: d = d % a