We're dividing 238400 by 40 
Our goal is to divide 238400 by 40.

Advancing to step 1:
The number 40 fits into 2 0 times, leaving a remainder of 2.
Put 0 as the next digit of the answer. 
Result so far: 0.0
The remainder is 2 after subtracting 0 from 2.
Append the next digit (3) from the dividend to 2 and continue with: 23 / 40

Advancing to step 2:
23 divided by 40 is 0 with a remainder of 23.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
Deduct 0 from 23 and we're left with 23.
Fetch the next digit (8) from the dividend, attach it to 23 and continue: 238 / 40

Going ahead to step 3:
If we divide 238 by 40, we get 5 and a remainder of 38.
Write down 5 as next digit of the result. 
Result so far: 5.0
The remainder is 38 after subtracting 200 from 238.
Grab the next digit (4) from the dividend, add it to 38, then carry on: 384 / 40

Going ahead to step 4:
40 goes into 384 9 times with a remainder of 24.
Use 9 as the next digit of our solution. 
Result so far: 59.0
Subtract 360 from 384 to get 24.
Bring next digit (0) of the dividend behind the 24 and repeat the process: 240 / 40

Going ahead to step 5:
40 can be fit into 240 6 times, resulting in a remainder of 0.
Record the quotient 6 as the next digit in the result. 
Result so far: 596.0
Deduct 240 from 240 and we're left with 0.
Bring next digit (0) of the dividend behind the 0 and repeat the process: 0 / 40

On to step 6:
40 goes into 0 0 times with a remainder of 0.
Use 0 as the next digit of our solution. 
Result so far: 5960.0
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.

Moving on to step 7:
40 can be fit into 0 0 times, resulting in a remainder of 0.
Write down 0 as next digit of the result. 
Result so far: 5960.0
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.

On to step 8:
The number 40 fits into 0 0 times, leaving a remainder of 0.
Put 0 as the next digit of the answer. 
Result so far: 5960.0
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 5960.0 with a remaining 0.0.