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

Advancing to step 1:
22 goes into 3 0 times with a remainder of 3.
Write down 0 as next digit of the result. 
Result so far: 0.0
If we subtract 0 from 3, we get 3.
Grab the next digit (4) from the dividend, add it to 3, then carry on: 34 / 22

Step 2:
22 can be fit into 34 1 times, resulting in a remainder of 12.
The number 1 becomes the next digit in our result. 
Result so far: 1.0
If we take 22 away from 34, we end up with 12.
Append the next digit (0) from the dividend to 12 and continue with: 120 / 22

Step 3:
22 can be fit into 120 5 times, resulting in a remainder of 10.
Record the quotient 5 as the next digit in the result. 
Result so far: 15.0
If we take 110 away from 120, we end up with 10.
Include the next digit (7) from the dividend after 10, then repeat: 107 / 22

Step 4:
When dividing 107 by 22, we get 4 with a remainder of 19.
Put 4 as the next digit of the answer. 
Result so far: 154.0
Subtracting 88 from 107 leaves us with 19.
Fetch the next digit (6) from the dividend, attach it to 19 and continue: 196 / 22

Advancing to step 5:
When dividing 196 by 22, we get 8 with a remainder of 20.
Use 8 as the next digit of our solution. 
Result so far: 1548.0
Subtracting 176 from 196 leaves us with 20.
Include the next digit (2) from the dividend after 20, then repeat: 202 / 22

Advancing to step 6:
The number 22 fits into 202 9 times, leaving a remainder of 4.
Put 9 as the next digit of the answer. 
Result so far: 15489.0
Subtracting 198 from 202 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.

Going ahead to step 7:
When dividing 40 by 22, we get 1 with a remainder of 18.
The number 1 becomes the next digit in our result. 
Result so far: 15489.1
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 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: 15489.18
If we take 176 away from 180, we end up 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.

Going ahead to step 9:
If we divide 40 by 22, we get 1 and a remainder of 18.
The next digit of our result is 1. 
Result so far: 15489.181
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.

Let's proceed to step 10:
When dividing 180 by 22, we get 8 with a remainder of 4.
The next digit of our result is 8. 
Result so far: 15489.1818
Deduct 176 from 180 and we're left 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.

Moving on to step 11:
The number 22 fits into 40 1 times, leaving a remainder of 18.
Write down 1 as next digit of the result. 
Result so far: 15489.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:
When dividing 180 by 22, we get 8 with a remainder of 4.
The next digit of our result is 8. 
Result so far: 15489.181818
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.

Step 13:
When dividing 40 by 22, we get 1 with a remainder of 18.
Put 1 as the next digit of the answer. 
Result so far: 15489.1818181
Deduct 22 from 40 and we're left 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:
The number 22 fits into 180 8 times, leaving a remainder of 4.
Write down 8 as next digit of the result. 
Result so far: 15489.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.

After the division, we end up with 15489.18181818 and a remainder of 4e-09.