5214050 divided by 642 
Our goal is to divide 5214050 by 642.

Step 1:
When dividing 5 by 642, we get 0 with a remainder of 5.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
The remainder is 5 after subtracting 0 from 5.
Include the next digit (2) from the dividend after 5, then repeat: 52 / 642

Let's proceed to step 2:
If we divide 52 by 642, we get 0 and a remainder of 52.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
If we subtract 0 from 52, we get 52.
Fetch the next digit (1) from the dividend, attach it to 52 and continue: 521 / 642

Step 3:
642 can be fit into 521 0 times, resulting in a remainder of 521.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
Subtracting 0 from 521 leaves us with 521.
Include the next digit (4) from the dividend after 521, then repeat: 5214 / 642

Going ahead to step 4:
5214 divided by 642 is 8 with a remainder of 78.
Put 8 as the next digit of the answer. 
Result so far: 8.0
The remainder is 78 after subtracting 5136 from 5214.
Append the next digit (0) from the dividend to 78 and continue with: 780 / 642

Step 5:
The number 642 fits into 780 1 times, leaving a remainder of 138.
The number 1 becomes the next digit in our result. 
Result so far: 81.0
Subtract 642 from 780 to get 138.
Grab the next digit (5) from the dividend, add it to 138, then carry on: 1385 / 642

Advancing to step 6:
1385 divided by 642 is 2 with a remainder of 101.
Use 2 as the next digit of our solution. 
Result so far: 812.0
If we subtract 1284 from 1385, we get 101.
Take the next digit (0) from the dividend and append it to 101, then repeat: 1010 / 642

On to step 7:
642 can be fit into 1010 1 times, resulting in a remainder of 368.
Use 1 as the next digit of our solution. 
Result so far: 8121.0
If we subtract 642 from 1010, we get 368.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3680, and continue the process.

Step 8:
If we divide 3680 by 642, we get 5 and a remainder of 470.
Use 5 as the next digit of our solution. 
Result so far: 8121.5
Deduct 3210 from 3680 and we're left with 470.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4700, and continue the process.

Going ahead to step 9:
642 can be fit into 4700 7 times, resulting in a remainder of 206.
Write down 7 as next digit of the result. 
Result so far: 8121.57
If we take 4494 away from 4700, we end up with 206.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2060, and continue the process.

Going ahead to step 10:
642 can be fit into 2060 3 times, resulting in a remainder of 134.
Use 3 as the next digit of our solution. 
Result so far: 8121.573
Subtract 1926 from 2060 to get 134.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1340, and continue the process.

Let's proceed to step 11:
When dividing 1340 by 642, we get 2 with a remainder of 56.
Write down 2 as next digit of the result. 
Result so far: 8121.5732
Deduct 1284 from 1340 and we're left with 56.
Since there are no more digits in the dividend, we add a zero to the remainder making it 560, and continue the process.

On to step 12:
560 divided by 642 is 0 with a remainder of 560.
Put 0 as the next digit of the answer. 
Result so far: 8121.5732
If we subtract 0 from 560, we get 560.
Since there are no more digits in the dividend, we add a zero to the remainder making it 5600, and continue the process.

Step 13:
642 goes into 5600 8 times with a remainder of 464.
Record the quotient 8 as the next digit in the result. 
Result so far: 8121.573208
If we take 5136 away from 5600, we end up with 464.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4640, and continue the process.

Let's proceed to step 14:
When dividing 4640 by 642, we get 7 with a remainder of 146.
Use 7 as the next digit of our solution. 
Result so far: 8121.5732087
If we subtract 4494 from 4640, we get 146.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1460, and continue the process.

Advancing to step 15:
1460 divided by 642 is 2 with a remainder of 176.
Use 2 as the next digit of our solution. 
Result so far: 8121.57320872
Deduct 1284 from 1460 and we're left with 176.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1760, and continue the process.

The final outcome is 8121.57320872, with a leftover of 1.76e-07.