We're dividing 5176784 by 643 
Our goal is to divide 5176784 by 643.

Advancing to step 1:
The number 643 fits into 5 0 times, leaving a remainder of 5.
The next digit of our result is 0. 
Result so far: 0.0
Subtract 0 from 5 to get 5.
Take the next digit (1) from the dividend and append it to 5, then repeat: 51 / 643

Let's proceed to step 2:
643 goes into 51 0 times with a remainder of 51.
Put 0 as the next digit of the answer. 
Result so far: 0.0
The remainder is 51 after subtracting 0 from 51.
Fetch the next digit (7) from the dividend, attach it to 51 and continue: 517 / 643

Moving on to step 3:
The number 643 fits into 517 0 times, leaving a remainder of 517.
The next digit of our result is 0. 
Result so far: 0.0
If we subtract 0 from 517, we get 517.
Bring next digit (6) of the dividend behind the 517 and repeat the process: 5176 / 643

On to step 4:
The number 643 fits into 5176 8 times, leaving a remainder of 32.
Use 8 as the next digit of our solution. 
Result so far: 8.0
The remainder is 32 after subtracting 5144 from 5176.
Bring next digit (7) of the dividend behind the 32 and repeat the process: 327 / 643

Advancing to step 5:
643 goes into 327 0 times with a remainder of 327.
The number 0 becomes the next digit in our result. 
Result so far: 80.0
Deduct 0 from 327 and we're left with 327.
Include the next digit (8) from the dividend after 327, then repeat: 3278 / 643

Going ahead to step 6:
643 goes into 3278 5 times with a remainder of 63.
Write down 5 as next digit of the result. 
Result so far: 805.0
Subtract 3215 from 3278 to get 63.
Grab the next digit (4) from the dividend, add it to 63, then carry on: 634 / 643

Let's proceed to step 7:
643 can be fit into 634 0 times, resulting in a remainder of 634.
Record the quotient 0 as the next digit in the result. 
Result so far: 8050.0
Subtracting 0 from 634 leaves us with 634.
Since there are no more digits in the dividend, we add a zero to the remainder making it 6340, and continue the process.

On to step 8:
If we divide 6340 by 643, we get 9 and a remainder of 553.
Record the quotient 9 as the next digit in the result. 
Result so far: 8050.9
If we subtract 5787 from 6340, we get 553.
Since there are no more digits in the dividend, we add a zero to the remainder making it 5530, and continue the process.

Let's proceed to step 9:
643 can be fit into 5530 8 times, resulting in a remainder of 386.
Write down 8 as next digit of the result. 
Result so far: 8050.98
Subtract 5144 from 5530 to get 386.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3860, and continue the process.

Let's proceed to step 10:
The number 643 fits into 3860 6 times, leaving a remainder of 2.
Write down 6 as next digit of the result. 
Result so far: 8050.986
If we take 3858 away from 3860, we end up with 2.
Since there are no more digits in the dividend, we add a zero to the remainder making it 20, and continue the process.

Advancing to step 11:
643 can be fit into 20 0 times, resulting in a remainder of 20.
Put 0 as the next digit of the answer. 
Result so far: 8050.986
If we subtract 0 from 20, we get 20.
Since there are no more digits in the dividend, we add a zero to the remainder making it 200, and continue the process.

Moving on to step 12:
643 goes into 200 0 times with a remainder of 200.
Use 0 as the next digit of our solution. 
Result so far: 8050.986
If we subtract 0 from 200, we get 200.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2000, and continue the process.

The final result is 8050.986 with a remainder of 0.0002.