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

On to step 1:
If we divide 4 by 8, we get 0 and a remainder of 4.
Write down 0 as next digit of the result. 
Result so far: 0.0
If we take 0 away from 4, we end up with 4.
Grab the next digit (7) from the dividend, add it to 4, then carry on: 47 / 8

On to step 2:
8 goes into 47 5 times with a remainder of 7.
The number 5 becomes the next digit in our result. 
Result so far: 5.0
Deduct 40 from 47 and we're left with 7.
Take the next digit (6) from the dividend and append it to 7, then repeat: 76 / 8

Going ahead to step 3:
The number 8 fits into 76 9 times, leaving a remainder of 4.
Use 9 as the next digit of our solution. 
Result so far: 59.0
Subtracting 72 from 76 leaves us with 4.
Grab the next digit (8) from the dividend, add it to 4, then carry on: 48 / 8

Going ahead to step 4:
8 goes into 48 6 times with a remainder of 0.
Record the quotient 6 as the next digit in the result. 
Result so far: 596.0
Subtracting 48 from 48 leaves us with 0.
Include the next digit (4) from the dividend after 0, then repeat: 4 / 8

Going ahead to step 5:
The number 8 fits into 4 0 times, leaving a remainder of 4.
Write down 0 as next digit of the result. 
Result so far: 5960.0
Deduct 0 from 4 and we're left with 4.
Include the next digit (2) from the dividend after 4, then repeat: 42 / 8

Going ahead to step 6:
8 can be fit into 42 5 times, resulting in a remainder of 2.
Put 5 as the next digit of the answer. 
Result so far: 59605.0
Deduct 40 from 42 and we're left 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.

Step 7:
If we divide 20 by 8, we get 2 and a remainder of 4.
The next digit of our result is 2. 
Result so far: 59605.2
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.

Going ahead to step 8:
8 goes into 40 5 times with a remainder of 0.
The next digit of our result is 5. 
Result so far: 59605.25
Subtracting 40 from 40 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.

Step 9:
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: 59605.25
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.

On 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: 59605.25
If we take 0 away from 0, 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.

The final outcome is 59605.25, with a leftover of 0.0.