We divide 5062021 by 267
We want to divide 5062021 by 267.

Step 1:
5 divided by 267 is 0 with a remainder of 5.
The next digit of our result is 0. 
Result so far: 0.0
The remainder is 5 after subtracting 0 from 5.
Include the next digit (0) from the dividend after 5, then repeat: 50 / 267

Going ahead to step 2:
267 goes into 50 0 times with a remainder of 50.
Put 0 as the next digit of the answer. 
Result so far: 0.0
The remainder is 50 after subtracting 0 from 50.
Bring next digit (6) of the dividend behind the 50 and repeat the process: 506 / 267

Let's proceed to step 3:
267 goes into 506 1 times with a remainder of 239.
Put 1 as the next digit of the answer. 
Result so far: 1.0
The remainder is 239 after subtracting 267 from 506.
Take the next digit (2) from the dividend and append it to 239, then repeat: 2392 / 267

Advancing to step 4:
If we divide 2392 by 267, we get 8 and a remainder of 256.
The next digit of our result is 8. 
Result so far: 18.0
Deduct 2136 from 2392 and we're left with 256.
Bring next digit (0) of the dividend behind the 256 and repeat the process: 2560 / 267

On to step 5:
2560 divided by 267 is 9 with a remainder of 157.
Write down 9 as next digit of the result. 
Result so far: 189.0
Subtracting 2403 from 2560 leaves us with 157.
Include the next digit (2) from the dividend after 157, then repeat: 1572 / 267

Step 6:
If we divide 1572 by 267, we get 5 and a remainder of 237.
The next digit of our result is 5. 
Result so far: 1895.0
If we subtract 1335 from 1572, we get 237.
Fetch the next digit (1) from the dividend, attach it to 237 and continue: 2371 / 267

Step 7:
If we divide 2371 by 267, we get 8 and a remainder of 235.
The next digit of our result is 8. 
Result so far: 18958.0
Subtracting 2136 from 2371 leaves us with 235.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2350, and continue the process.

Advancing to step 8:
267 can be fit into 2350 8 times, resulting in a remainder of 214.
Use 8 as the next digit of our solution. 
Result so far: 18958.8
If we subtract 2136 from 2350, we get 214.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2140, and continue the process.

Step 9:
267 goes into 2140 8 times with a remainder of 4.
Write down 8 as next digit of the result. 
Result so far: 18958.88
Subtracting 2136 from 2140 leaves us with 4.
Since there are no more digits in the dividend, we add a zero to the remainder making it 40, and continue the process.

The final outcome is 18958.88, with a leftover of 0.004.