We look at the division of 227171 by 6 
Let's see how many times 6 fits into 227171.

Step 1:
When dividing 2 by 6, we get 0 with a remainder of 2.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
Subtract 0 from 2 to get 2.
Grab the next digit (2) from the dividend, add it to 2, then carry on: 22 / 6

Advancing to step 2:
When dividing 22 by 6, we get 3 with a remainder of 4.
Use 3 as the next digit of our solution. 
Result so far: 3.0
Deduct 18 from 22 and we're left with 4.
Include the next digit (7) from the dividend after 4, then repeat: 47 / 6

On to step 3:
The number 6 fits into 47 7 times, leaving a remainder of 5.
The next digit of our result is 7. 
Result so far: 37.0
If we take 42 away from 47, we end up with 5.
Take the next digit (1) from the dividend and append it to 5, then repeat: 51 / 6

Going ahead to step 4:
When dividing 51 by 6, we get 8 with a remainder of 3.
Use 8 as the next digit of our solution. 
Result so far: 378.0
Subtracting 48 from 51 leaves us with 3.
Include the next digit (7) from the dividend after 3, then repeat: 37 / 6

Step 5:
When dividing 37 by 6, we get 6 with a remainder of 1.
Write down 6 as next digit of the result. 
Result so far: 3786.0
The remainder is 1 after subtracting 36 from 37.
Fetch the next digit (1) from the dividend, attach it to 1 and continue: 11 / 6

Step 6:
11 divided by 6 is 1 with a remainder of 5.
Record the quotient 1 as the next digit in the result. 
Result so far: 37861.0
Deduct 6 from 11 and we're left with 5.
Since there are no more digits in the dividend, we add a zero to the remainder making it 50, and continue the process.

Moving on to step 7:
If we divide 50 by 6, we get 8 and a remainder of 2.
Write down 8 as next digit of the result. 
Result so far: 37861.8
Subtracting 48 from 50 leaves us with 2.
Since there are no more digits in the dividend, we add a zero to the remainder making it 20, and continue the process.

On to step 8:
If we divide 20 by 6, we get 3 and a remainder of 2.
Use 3 as the next digit of our solution. 
Result so far: 37861.83
If we subtract 18 from 20, we get 2.
Since there are no more digits in the dividend, we add a zero to the remainder making it 20, and continue the process.

Advancing to step 9:
6 can be fit into 20 3 times, resulting in a remainder of 2.
The next digit of our result is 3. 
Result so far: 37861.833
Subtract 18 from 20 to get 2.
Since there are no more digits in the dividend, we add a zero to the remainder making it 20, and continue the process.

In conclusion, the division gives 37861.833 with a balance of 0.0002.