Good for you for wanting to know the "why" and the "how" of something most people take for granted. It is fun to pose a problem, then look for a solution.
BTW, have you seen this site? How a Calculator Does Division
That site also links to a page that discusses many different rounding...