We're dividing 315493 by 8 
Let's see how many times 8 fits into 315493.

Step 1:
The number 8 fits into 3 0 times, leaving a remainder of 3.
Use 0 as the next digit of our solution. 
Result so far: 0.0
If we take 0 away from 3, we end up with 3.
Append the next digit (1) from the dividend to 3 and continue with: 31 / 8

Step 2:
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: 3.0
The remainder is 7 after subtracting 24 from 31.
Take the next digit (5) from the dividend and append it to 7, then repeat: 75 / 8

Going ahead to step 3:
75 divided by 8 is 9 with a remainder of 3.
Put 9 as the next digit of the answer. 
Result so far: 39.0
The remainder is 3 after subtracting 72 from 75.
Grab the next digit (4) from the dividend, add it to 3, then carry on: 34 / 8

Let's proceed to step 4:
If we divide 34 by 8, we get 4 and a remainder of 2.
The next digit of our result is 4. 
Result so far: 394.0
The remainder is 2 after subtracting 32 from 34.
Include the next digit (9) from the dividend after 2, then repeat: 29 / 8

Let's proceed to step 5:
The number 8 fits into 29 3 times, leaving a remainder of 5.
The next digit of our result is 3. 
Result so far: 3943.0
Subtract 24 from 29 to get 5.
Take the next digit (3) from the dividend and append it to 5, then repeat: 53 / 8

Going ahead to step 6:
When dividing 53 by 8, we get 6 with a remainder of 5.
The next digit of our result is 6. 
Result so far: 39436.0
Subtracting 48 from 53 leaves us 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 8, we get 6 and a remainder of 2.
Put 6 as the next digit of the answer. 
Result so far: 39436.6
Subtract 48 from 50 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.

Advancing to step 8:
8 goes into 20 2 times with a remainder of 4.
Put 2 as the next digit of the answer. 
Result so far: 39436.62
If we take 16 away from 20, 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.

Let's proceed to step 9:
40 divided by 8 is 5 with a remainder of 0.
The number 5 becomes the next digit in our result. 
Result so far: 39436.625
If we subtract 40 from 40, 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.

On to step 10:
8 goes into 0 0 times with a remainder of 0.
Write down 0 as next digit of the result. 
Result so far: 39436.625
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.

Let's proceed to step 11:
0 divided by 8 is 0 with a remainder of 0.
Write down 0 as next digit of the result. 
Result so far: 39436.625
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 39436.625 with a balance of 0.0.