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

Let's proceed to step 1:
The number 8 fits into 1 0 times, leaving a remainder of 1.
Write down 0 as next digit of the result. 
Result so far: 0.0
If we subtract 0 from 1, we get 1.
Take the next digit (7) from the dividend and append it to 1, then repeat: 17 / 8

Step 2:
The number 8 fits into 17 2 times, leaving a remainder of 1.
Use 2 as the next digit of our solution. 
Result so far: 2.0
The remainder is 1 after subtracting 16 from 17.
Include the next digit (8) from the dividend after 1, then repeat: 18 / 8

Moving on to step 3:
18 divided by 8 is 2 with a remainder of 2.
Use 2 as the next digit of our solution. 
Result so far: 22.0
The remainder is 2 after subtracting 16 from 18.
Include the next digit (5) from the dividend after 2, then repeat: 25 / 8

Step 4:
When dividing 25 by 8, we get 3 with a remainder of 1.
Use 3 as the next digit of our solution. 
Result so far: 223.0
Subtract 24 from 25 to get 1.
Include the next digit (4) from the dividend after 1, then repeat: 14 / 8

Advancing to step 5:
14 divided by 8 is 1 with a remainder of 6.
Put 1 as the next digit of the answer. 
Result so far: 2231.0
Subtract 8 from 14 to get 6.
Include the next digit (2) from the dividend after 6, then repeat: 62 / 8

Advancing to step 6:
62 divided by 8 is 7 with a remainder of 6.
Write down 7 as next digit of the result. 
Result so far: 22317.0
The remainder is 6 after subtracting 56 from 62.
Since there are no more digits in the dividend, we add a zero to the remainder making it 60, and continue the process.

Advancing 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: 22317.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.

Advancing to step 8:
If we divide 40 by 8, we get 5 and a remainder of 0.
Write down 5 as next digit of the result. 
Result so far: 22317.75
If we take 40 away from 40, 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.

Let's proceed to step 9:
8 can be fit into 0 0 times, resulting in a remainder of 0.
Use 0 as the next digit of our solution. 
Result so far: 22317.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:
When dividing 0 by 8, we get 0 with a remainder of 0.
The next digit of our result is 0. 
Result so far: 22317.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.

Our division results in 22317.75 with a remaining 0.0.