We look at the division of 5040186 by 213 
We want to divide 5040186 by 213.

Advancing to step 1:
When dividing 5 by 213, we get 0 with a remainder of 5.
Use 0 as the next digit of our solution. 
Result so far: 0.0
Subtract 0 from 5 to get 5.
Fetch the next digit (0) from the dividend, attach it to 5 and continue: 50 / 213

Step 2:
213 can be fit into 50 0 times, resulting in a remainder of 50.
Write down 0 as next digit of the result. 
Result so far: 0.0
Deduct 0 from 50 and we're left with 50.
Append the next digit (4) from the dividend to 50 and continue with: 504 / 213

Advancing to step 3:
504 divided by 213 is 2 with a remainder of 78.
Write down 2 as next digit of the result. 
Result so far: 2.0
Subtract 426 from 504 to get 78.
Include the next digit (0) from the dividend after 78, then repeat: 780 / 213

Going ahead to step 4:
The number 213 fits into 780 3 times, leaving a remainder of 141.
Record the quotient 3 as the next digit in the result. 
Result so far: 23.0
The remainder is 141 after subtracting 639 from 780.
Fetch the next digit (1) from the dividend, attach it to 141 and continue: 1411 / 213

Moving on to step 5:
213 can be fit into 1411 6 times, resulting in a remainder of 133.
The next digit of our result is 6. 
Result so far: 236.0
The remainder is 133 after subtracting 1278 from 1411.
Grab the next digit (8) from the dividend, add it to 133, then carry on: 1338 / 213

Moving on to step 6:
213 goes into 1338 6 times with a remainder of 60.
Record the quotient 6 as the next digit in the result. 
Result so far: 2366.0
Deduct 1278 from 1338 and we're left with 60.
Include the next digit (6) from the dividend after 60, then repeat: 606 / 213

On to step 7:
213 can be fit into 606 2 times, resulting in a remainder of 180.
Use 2 as the next digit of our solution. 
Result so far: 23662.0
Subtract 426 from 606 to get 180.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1800, and continue the process.

Going ahead to step 8:
1800 divided by 213 is 8 with a remainder of 96.
The number 8 becomes the next digit in our result. 
Result so far: 23662.8
If we take 1704 away from 1800, we end up with 96.
Since there are no more digits in the dividend, we add a zero to the remainder making it 960, and continue the process.

Going ahead to step 9:
If we divide 960 by 213, we get 4 and a remainder of 108.
Use 4 as the next digit of our solution. 
Result so far: 23662.84
Subtract 852 from 960 to get 108.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1080, and continue the process.

On to step 10:
213 goes into 1080 5 times with a remainder of 15.
Write down 5 as next digit of the result. 
Result so far: 23662.845
Subtract 1065 from 1080 to get 15.
Since there are no more digits in the dividend, we add a zero to the remainder making it 150, and continue the process.

Moving on to step 11:
213 can be fit into 150 0 times, resulting in a remainder of 150.
Use 0 as the next digit of our solution. 
Result so far: 23662.845
Deduct 0 from 150 and we're left with 150.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1500, and continue the process.

On to step 12:
If we divide 1500 by 213, we get 7 and a remainder of 9.
Write down 7 as next digit of the result. 
Result so far: 23662.84507
If we take 1491 away from 1500, we end up with 9.
Since there are no more digits in the dividend, we add a zero to the remainder making it 90, and continue the process.

On to step 13:
213 can be fit into 90 0 times, resulting in a remainder of 90.
Use 0 as the next digit of our solution. 
Result so far: 23662.84507
Subtract 0 from 90 to get 90.
Since there are no more digits in the dividend, we add a zero to the remainder making it 900, and continue the process.

Going ahead to step 14:
900 divided by 213 is 4 with a remainder of 48.
Put 4 as the next digit of the answer. 
Result so far: 23662.8450704
If we take 852 away from 900, we end up with 48.
Since there are no more digits in the dividend, we add a zero to the remainder making it 480, and continue the process.

Going ahead to step 15:
If we divide 480 by 213, we get 2 and a remainder of 54.
Put 2 as the next digit of the answer. 
Result so far: 23662.84507042
If we take 426 away from 480, we end up with 54.
Since there are no more digits in the dividend, we add a zero to the remainder making it 540, and continue the process.

The final result is 23662.84507042 with a remainder of 5.4e-08.