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

Let's proceed to step 1:
If we divide 3 by 8, we get 0 and a remainder of 3.
The next digit of our result is 0. 
Result so far: 0.0
Subtract 0 from 3 to get 3.
Grab the next digit (1) from the dividend, add it to 3, then carry on: 31 / 8

Moving on to step 2:
31 divided by 8 is 3 with a remainder of 7.
Record the quotient 3 as the next digit in the result. 
Result so far: 3.0
Deduct 24 from 31 and we're left with 7.
Append the next digit (5) from the dividend to 7 and continue with: 75 / 8

Step 3:
When dividing 75 by 8, we get 9 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.
Fetch the next digit (2) from the dividend, attach it to 3 and continue: 32 / 8

Going ahead to step 4:
The number 8 fits into 32 4 times, leaving a remainder of 0.
Record the quotient 4 as the next digit in the result. 
Result so far: 394.0
The remainder is 0 after subtracting 32 from 32.
Grab the next digit (4) from the dividend, add it to 0, then carry on: 4 / 8

Moving on to step 5:
8 goes into 4 0 times with a remainder of 4.
The next digit of our result is 0. 
Result so far: 3940.0
The remainder is 4 after subtracting 0 from 4.
Bring next digit (8) of the dividend behind the 4 and repeat the process: 48 / 8

Step 6:
8 can be fit into 48 6 times, resulting in a remainder of 0.
The next digit of our result is 6. 
Result so far: 39406.0
If we subtract 48 from 48, 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.

Step 7:
The number 8 fits into 0 0 times, leaving a remainder of 0.
Put 0 as the next digit of the answer. 
Result so far: 39406.0
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.

Step 8:
0 divided by 8 is 0 with a remainder of 0.
The next digit of our result is 0. 
Result so far: 39406.0
Subtracting 0 from 0 leaves us 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.

The final result is 39406.0 with a remainder of 0.0.