We're dividing 271157 by 8 
We want to figure out the number of times 271157 can be divided by 8.

Step 1:
If we divide 2 by 8, we get 0 and a remainder of 2.
Write down 0 as next digit of the result. 
Result so far: 0.0
The remainder is 2 after subtracting 0 from 2.
Bring next digit (7) of the dividend behind the 2 and repeat the process: 27 / 8

Let's proceed to step 2:
When dividing 27 by 8, we get 3 with a remainder of 3.
The next digit of our result is 3. 
Result so far: 3.0
Deduct 24 from 27 and we're left with 3.
Grab the next digit (1) from the dividend, add it to 3, then carry on: 31 / 8

Let's proceed to step 3:
8 can be fit into 31 3 times, resulting in a remainder of 7.
The number 3 becomes the next digit in our result. 
Result so far: 33.0
Deduct 24 from 31 and we're left with 7.
Grab the next digit (1) from the dividend, add it to 7, then carry on: 71 / 8

Step 4:
When dividing 71 by 8, we get 8 with a remainder of 7.
The number 8 becomes the next digit in our result. 
Result so far: 338.0
If we take 64 away from 71, we end up with 7.
Take the next digit (5) from the dividend and append it to 7, then repeat: 75 / 8

On to step 5:
When dividing 75 by 8, we get 9 with a remainder of 3.
Put 9 as the next digit of the answer. 
Result so far: 3389.0
If we take 72 away from 75, we end up with 3.
Append the next digit (7) from the dividend to 3 and continue with: 37 / 8

On to step 6:
When dividing 37 by 8, we get 4 with a remainder of 5.
Put 4 as the next digit of the answer. 
Result so far: 33894.0
If we subtract 32 from 37, we get 5.
Since there are no more digits in the dividend, we add a zero to the remainder making it 50, and continue the process.

Going ahead to step 7:
The number 8 fits into 50 6 times, leaving a remainder of 2.
The number 6 becomes the next digit in our result. 
Result so far: 33894.6
If we take 48 away from 50, we end up 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:
The number 8 fits into 20 2 times, leaving a remainder of 4.
Use 2 as the next digit of our solution. 
Result so far: 33894.62
Deduct 16 from 20 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.

Going ahead to step 9:
The number 8 fits into 40 5 times, leaving a remainder of 0.
Write down 5 as next digit of the result. 
Result so far: 33894.625
If we take 40 away from 40, we end up with 0.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

On to step 10:
0 divided by 8 is 0 with a remainder of 0.
Put 0 as the next digit of the answer. 
Result so far: 33894.625
The remainder is 0 after subtracting 0 from 0.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

Advancing to step 11:
If we divide 0 by 8, we get 0 and a remainder of 0.
Put 0 as the next digit of the answer. 
Result so far: 33894.625
If we subtract 0 from 0, we get 0.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

In conclusion, the division gives 33894.625 with a balance of 0.0.