Let's divide 400230 by 8
Our goal is to divide 400230 by 8.

Moving on to step 1:
When dividing 4 by 8, we get 0 with a remainder of 4.
Put 0 as the next digit of the answer. 
Result so far: 0.0
Subtracting 0 from 4 leaves us with 4.
Include the next digit (0) from the dividend after 4, then repeat: 40 / 8

On to step 2:
When dividing 40 by 8, we get 5 with a remainder of 0.
Use 5 as the next digit of our solution. 
Result so far: 5.0
The remainder is 0 after subtracting 40 from 40.
Fetch the next digit (0) from the dividend, attach it to 0 and continue: 0 / 8

Step 3:
When dividing 0 by 8, we get 0 with a remainder of 0.
Record the quotient 0 as the next digit in the result. 
Result so far: 50.0
If we subtract 0 from 0, we get 0.
Include the next digit (2) from the dividend after 0, then repeat: 2 / 8

Advancing to step 4:
8 goes into 2 0 times with a remainder of 2.
Write down 0 as next digit of the result. 
Result so far: 500.0
The remainder is 2 after subtracting 0 from 2.
Bring next digit (3) of the dividend behind the 2 and repeat the process: 23 / 8

On to step 5:
The number 8 fits into 23 2 times, leaving a remainder of 7.
The next digit of our result is 2. 
Result so far: 5002.0
The remainder is 7 after subtracting 16 from 23.
Append the next digit (0) from the dividend to 7 and continue with: 70 / 8

Step 6:
70 divided by 8 is 8 with a remainder of 6.
Put 8 as the next digit of the answer. 
Result so far: 50028.0
If we take 64 away from 70, we end up with 6.
Since there are no more digits in the dividend, we add a zero to the remainder making it 60, and continue the process.

On to step 7:
When dividing 60 by 8, we get 7 with a remainder of 4.
Use 7 as the next digit of our solution. 
Result so far: 50028.7
If we subtract 56 from 60, we get 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:
40 divided by 8 is 5 with a remainder of 0.
The number 5 becomes the next digit in our result. 
Result so far: 50028.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:
0 divided by 8 is 0 with a remainder of 0.
Record the quotient 0 as the next digit in the result. 
Result so far: 50028.75
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.

Step 10:
8 goes into 0 0 times with a remainder of 0.
Put 0 as the next digit of the answer. 
Result so far: 50028.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.

Our division results in 50028.75 with a remaining 0.0.