We're dividing 315158 by 8 
We want to divide 315158 by 8.

Advancing to step 1:
When dividing 3 by 8, we get 0 with a remainder of 3.
Use 0 as the next digit of our solution. 
Result so far: 0.0
If we subtract 0 from 3, we get 3.
Append the next digit (1) from the dividend to 3 and continue with: 31 / 8

Advancing to step 2:
When dividing 31 by 8, we get 3 with a remainder of 7.
Write down 3 as next digit of the result. 
Result so far: 3.0
Deduct 24 from 31 and we're left with 7.
Include the next digit (5) from the dividend after 7, then repeat: 75 / 8

Going ahead to step 3:
8 goes into 75 9 times with a remainder of 3.
Write down 9 as next digit of the result. 
Result so far: 39.0
Deduct 72 from 75 and we're left with 3.
Grab the next digit (1) from the dividend, add it to 3, then carry on: 31 / 8

Going ahead to step 4:
8 goes into 31 3 times with a remainder of 7.
The number 3 becomes the next digit in our result. 
Result so far: 393.0
If we subtract 24 from 31, we get 7.
Append the next digit (5) from the dividend to 7 and continue with: 75 / 8

Going ahead to step 5:
75 divided by 8 is 9 with a remainder of 3.
The number 9 becomes the next digit in our result. 
Result so far: 3939.0
The remainder is 3 after subtracting 72 from 75.
Append the next digit (8) from the dividend to 3 and continue with: 38 / 8

Step 6:
38 divided by 8 is 4 with a remainder of 6.
Write down 4 as next digit of the result. 
Result so far: 39394.0
Subtracting 32 from 38 leaves us with 6.
Since there are no more digits in the dividend, we add a zero to the remainder making it 60, and continue the process.

Let's proceed to step 7:
The number 8 fits into 60 7 times, leaving a remainder of 4.
Use 7 as the next digit of our solution. 
Result so far: 39394.7
The remainder is 4 after subtracting 56 from 60.
Since there are no more digits in the dividend, we add a zero to the remainder making it 40, and continue the process.

Step 8:
If we divide 40 by 8, we get 5 and a remainder of 0.
Put 5 as the next digit of the answer. 
Result so far: 39394.75
Subtract 40 from 40 to 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.

Moving on to step 9:
8 goes into 0 0 times with a remainder of 0.
Put 0 as the next digit of the answer. 
Result so far: 39394.75
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.

Going ahead to step 10:
The number 8 fits into 0 0 times, leaving a remainder of 0.
Use 0 as the next digit of our solution. 
Result so far: 39394.75
Subtract 0 from 0 to 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 39394.75 with a balance of 0.0.