We look at the division of 2171261 by 338 
We want to divide 2171261 by 338.

On to step 1:
When dividing 2 by 338, we get 0 with a remainder of 2.
Write down 0 as next digit of the result. 
Result so far: 0.0
Subtract 0 from 2 to get 2.
Append the next digit (1) from the dividend to 2 and continue with: 21 / 338

Advancing to step 2:
If we divide 21 by 338, we get 0 and a remainder of 21.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
Subtract 0 from 21 to get 21.
Include the next digit (7) from the dividend after 21, then repeat: 217 / 338

Step 3:
If we divide 217 by 338, we get 0 and a remainder of 217.
Write down 0 as next digit of the result. 
Result so far: 0.0
Subtract 0 from 217 to get 217.
Append the next digit (1) from the dividend to 217 and continue with: 2171 / 338

On to step 4:
When dividing 2171 by 338, we get 6 with a remainder of 143.
The number 6 becomes the next digit in our result. 
Result so far: 6.0
If we take 2028 away from 2171, we end up with 143.
Bring next digit (2) of the dividend behind the 143 and repeat the process: 1432 / 338

Let's proceed to step 5:
338 can be fit into 1432 4 times, resulting in a remainder of 80.
The number 4 becomes the next digit in our result. 
Result so far: 64.0
If we subtract 1352 from 1432, we get 80.
Append the next digit (6) from the dividend to 80 and continue with: 806 / 338

Going ahead to step 6:
If we divide 806 by 338, we get 2 and a remainder of 130.
Record the quotient 2 as the next digit in the result. 
Result so far: 642.0
If we subtract 676 from 806, we get 130.
Grab the next digit (1) from the dividend, add it to 130, then carry on: 1301 / 338

Let's proceed to step 7:
When dividing 1301 by 338, we get 3 with a remainder of 287.
The number 3 becomes the next digit in our result. 
Result so far: 6423.0
Subtracting 1014 from 1301 leaves us with 287.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2870, and continue the process.

Let's proceed to step 8:
2870 divided by 338 is 8 with a remainder of 166.
The next digit of our result is 8. 
Result so far: 6423.8
If we take 2704 away from 2870, we end up with 166.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1660, and continue the process.

On to step 9:
338 goes into 1660 4 times with a remainder of 308.
Use 4 as the next digit of our solution. 
Result so far: 6423.84
Subtracting 1352 from 1660 leaves us with 308.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3080, and continue the process.

Step 10:
When dividing 3080 by 338, we get 9 with a remainder of 38.
Record the quotient 9 as the next digit in the result. 
Result so far: 6423.849
If we take 3042 away from 3080, we end up with 38.
Since there are no more digits in the dividend, we add a zero to the remainder making it 380, and continue the process.

On to step 11:
When dividing 380 by 338, we get 1 with a remainder of 42.
The number 1 becomes the next digit in our result. 
Result so far: 6423.8491
The remainder is 42 after subtracting 338 from 380.
Since there are no more digits in the dividend, we add a zero to the remainder making it 420, and continue the process.

Step 12:
338 goes into 420 1 times with a remainder of 82.
Write down 1 as next digit of the result. 
Result so far: 6423.84911
Subtract 338 from 420 to get 82.
Since there are no more digits in the dividend, we add a zero to the remainder making it 820, and continue the process.

In conclusion, the division gives 6423.84911 with a balance of 8.2e-05.