Let's divide 506862 by 22
We want to divide 506862 by 22.

On to step 1:
If we divide 5 by 22, we get 0 and a remainder of 5.
Write down 0 as next digit of the result. 
Result so far: 0.0
The remainder is 5 after subtracting 0 from 5.
Bring next digit (0) of the dividend behind the 5 and repeat the process: 50 / 22

Advancing to step 2:
22 goes into 50 2 times with a remainder of 6.
Use 2 as the next digit of our solution. 
Result so far: 2.0
If we take 44 away from 50, we end up with 6.
Append the next digit (6) from the dividend to 6 and continue with: 66 / 22

Let's proceed to step 3:
The number 22 fits into 66 3 times, leaving a remainder of 0.
Use 3 as the next digit of our solution. 
Result so far: 23.0
Deduct 66 from 66 and we're left with 0.
Include the next digit (8) from the dividend after 0, then repeat: 8 / 22

Let's proceed to step 4:
If we divide 8 by 22, we get 0 and a remainder of 8.
Record the quotient 0 as the next digit in the result. 
Result so far: 230.0
If we take 0 away from 8, we end up with 8.
Include the next digit (6) from the dividend after 8, then repeat: 86 / 22

Going ahead to step 5:
22 goes into 86 3 times with a remainder of 20.
The next digit of our result is 3. 
Result so far: 2303.0
The remainder is 20 after subtracting 66 from 86.
Grab the next digit (2) from the dividend, add it to 20, then carry on: 202 / 22

Going ahead to step 6:
22 goes into 202 9 times with a remainder of 4.
The number 9 becomes the next digit in our result. 
Result so far: 23039.0
If we subtract 198 from 202, we get 4.
Since there are no more digits in the dividend, we add a zero to the remainder making it 40, and continue the process.

Going ahead to step 7:
22 can be fit into 40 1 times, resulting in a remainder of 18.
The number 1 becomes the next digit in our result. 
Result so far: 23039.1
Subtract 22 from 40 to get 18.
Since there are no more digits in the dividend, we add a zero to the remainder making it 180, and continue the process.

Moving on to step 8:
The number 22 fits into 180 8 times, leaving a remainder of 4.
The next digit of our result is 8. 
Result so far: 23039.18
Subtracting 176 from 180 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.

On to step 9:
The number 22 fits into 40 1 times, leaving a remainder of 18.
Use 1 as the next digit of our solution. 
Result so far: 23039.181
The remainder is 18 after subtracting 22 from 40.
Since there are no more digits in the dividend, we add a zero to the remainder making it 180, and continue the process.

Step 10:
180 divided by 22 is 8 with a remainder of 4.
Record the quotient 8 as the next digit in the result. 
Result so far: 23039.1818
If we subtract 176 from 180, we get 4.
Since there are no more digits in the dividend, we add a zero to the remainder making it 40, and continue the process.

On to step 11:
22 goes into 40 1 times with a remainder of 18.
The number 1 becomes the next digit in our result. 
Result so far: 23039.18181
If we subtract 22 from 40, we get 18.
Since there are no more digits in the dividend, we add a zero to the remainder making it 180, and continue the process.

Going ahead to step 12:
22 can be fit into 180 8 times, resulting in a remainder of 4.
Use 8 as the next digit of our solution. 
Result so far: 23039.181818
If we subtract 176 from 180, we get 4.
Since there are no more digits in the dividend, we add a zero to the remainder making it 40, and continue the process.

On to step 13:
If we divide 40 by 22, we get 1 and a remainder of 18.
Write down 1 as next digit of the result. 
Result so far: 23039.1818181
If we take 22 away from 40, we end up with 18.
Since there are no more digits in the dividend, we add a zero to the remainder making it 180, and continue the process.

Going ahead to step 14:
If we divide 180 by 22, we get 8 and a remainder of 4.
The number 8 becomes the next digit in our result. 
Result so far: 23039.18181818
The remainder is 4 after subtracting 176 from 180.
Since there are no more digits in the dividend, we add a zero to the remainder making it 40, and continue the process.

In conclusion, the division gives 23039.18181818 with a balance of 4e-09.