Let's divide 789040 by 22
Our goal is to divide 789040 by 22.

Advancing to step 1:
If we divide 7 by 22, we get 0 and a remainder of 7.
The next digit of our result is 0. 
Result so far: 0.0
The remainder is 7 after subtracting 0 from 7.
Fetch the next digit (8) from the dividend, attach it to 7 and continue: 78 / 22

Going ahead to step 2:
The number 22 fits into 78 3 times, leaving a remainder of 12.
Put 3 as the next digit of the answer. 
Result so far: 3.0
Subtracting 66 from 78 leaves us with 12.
Fetch the next digit (9) from the dividend, attach it to 12 and continue: 129 / 22

Moving on to step 3:
When dividing 129 by 22, we get 5 with a remainder of 19.
Record the quotient 5 as the next digit in the result. 
Result so far: 35.0
The remainder is 19 after subtracting 110 from 129.
Grab the next digit (0) from the dividend, add it to 19, then carry on: 190 / 22

Advancing to step 4:
22 goes into 190 8 times with a remainder of 14.
Put 8 as the next digit of the answer. 
Result so far: 358.0
If we take 176 away from 190, we end up with 14.
Include the next digit (4) from the dividend after 14, then repeat: 144 / 22

Step 5:
144 divided by 22 is 6 with a remainder of 12.
Record the quotient 6 as the next digit in the result. 
Result so far: 3586.0
Subtract 132 from 144 to get 12.
Include the next digit (0) from the dividend after 12, then repeat: 120 / 22

On to step 6:
When dividing 120 by 22, we get 5 with a remainder of 10.
The next digit of our result is 5. 
Result so far: 35865.0
Subtract 110 from 120 to get 10.
Since there are no more digits in the dividend, we add a zero to the remainder making it 100, and continue the process.

Let's proceed to step 7:
The number 22 fits into 100 4 times, leaving a remainder of 12.
Write down 4 as next digit of the result. 
Result so far: 35865.4
If we take 88 away from 100, we end up with 12.
Since there are no more digits in the dividend, we add a zero to the remainder making it 120, and continue the process.

Let's proceed to step 8:
120 divided by 22 is 5 with a remainder of 10.
Put 5 as the next digit of the answer. 
Result so far: 35865.45
Subtract 110 from 120 to get 10.
Since there are no more digits in the dividend, we add a zero to the remainder making it 100, and continue the process.

Advancing to step 9:
22 can be fit into 100 4 times, resulting in a remainder of 12.
The number 4 becomes the next digit in our result. 
Result so far: 35865.454
Subtract 88 from 100 to get 12.
Since there are no more digits in the dividend, we add a zero to the remainder making it 120, and continue the process.

Moving on to step 10:
22 can be fit into 120 5 times, resulting in a remainder of 10.
The number 5 becomes the next digit in our result. 
Result so far: 35865.4545
The remainder is 10 after subtracting 110 from 120.
Since there are no more digits in the dividend, we add a zero to the remainder making it 100, and continue the process.

Step 11:
If we divide 100 by 22, we get 4 and a remainder of 12.
Put 4 as the next digit of the answer. 
Result so far: 35865.45454
If we subtract 88 from 100, we get 12.
Since there are no more digits in the dividend, we add a zero to the remainder making it 120, and continue the process.

Advancing to step 12:
22 can be fit into 120 5 times, resulting in a remainder of 10.
Write down 5 as next digit of the result. 
Result so far: 35865.454545
Subtract 110 from 120 to get 10.
Since there are no more digits in the dividend, we add a zero to the remainder making it 100, and continue the process.

On to step 13:
22 can be fit into 100 4 times, resulting in a remainder of 12.
Write down 4 as next digit of the result. 
Result so far: 35865.4545454
Subtract 88 from 100 to get 12.
Since there are no more digits in the dividend, we add a zero to the remainder making it 120, and continue the process.

Let's proceed to step 14:
When dividing 120 by 22, we get 5 with a remainder of 10.
The number 5 becomes the next digit in our result. 
Result so far: 35865.45454545
Subtracting 110 from 120 leaves us with 10.
Since there are no more digits in the dividend, we add a zero to the remainder making it 100, and continue the process.

Our division results in 35865.45454545 with a remaining 1e-08.