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

Let's proceed to step 1:
If we divide 3 by 8, we get 0 and a remainder of 3.
Write down 0 as next digit of the result. 
Result so far: 0.0
If we subtract 0 from 3, we get 3.
Fetch the next digit (2) from the dividend, attach it to 3 and continue: 32 / 8

Step 2:
The number 8 fits into 32 4 times, leaving a remainder of 0.
The number 4 becomes the next digit in our result. 
Result so far: 4.0
Deduct 32 from 32 and we're left with 0.
Take the next digit (1) from the dividend and append it to 0, then repeat: 1 / 8

Let's proceed to step 3:
If we divide 1 by 8, we get 0 and a remainder of 1.
The next digit of our result is 0. 
Result so far: 40.0
Subtracting 0 from 1 leaves us with 1.
Bring next digit (3) of the dividend behind the 1 and repeat the process: 13 / 8

Moving on to step 4:
8 can be fit into 13 1 times, resulting in a remainder of 5.
The number 1 becomes the next digit in our result. 
Result so far: 401.0
If we subtract 8 from 13, we get 5.
Take the next digit (7) from the dividend and append it to 5, then repeat: 57 / 8

Let's proceed to step 5:
57 divided by 8 is 7 with a remainder of 1.
The number 7 becomes the next digit in our result. 
Result so far: 4017.0
Deduct 56 from 57 and we're left with 1.
Include the next digit (4) from the dividend after 1, then repeat: 14 / 8

Step 6:
8 can be fit into 14 1 times, resulting in a remainder of 6.
The number 1 becomes the next digit in our result. 
Result so far: 40171.0
The remainder is 6 after subtracting 8 from 14.
Since there are no more digits in the dividend, we add a zero to the remainder making it 60, and continue the process.

Moving on to step 7:
When dividing 60 by 8, we get 7 with a remainder of 4.
Record the quotient 7 as the next digit in the result. 
Result so far: 40171.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.

Moving on to step 8:
40 divided by 8 is 5 with a remainder of 0.
The next digit of our result is 5. 
Result so far: 40171.75
Deduct 40 from 40 and we're left 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 9:
If we divide 0 by 8, we get 0 and a remainder of 0.
Record the quotient 0 as the next digit in the result. 
Result so far: 40171.75
Deduct 0 from 0 and we're left 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.

Advancing to step 10:
8 goes into 0 0 times with a remainder of 0.
The next digit of our result is 0. 
Result so far: 40171.75
Deduct 0 from 0 and we're left 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.

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