Let's divide 380884 by 40
We want to figure out the number of times 380884 can be divided by 40.

Advancing to step 1:
40 can be fit into 3 0 times, resulting in a remainder of 3.
Write down 0 as next digit of the result. 
Result so far: 0.0
The remainder is 3 after subtracting 0 from 3.
Append the next digit (8) from the dividend to 3 and continue with: 38 / 40

Moving on to step 2:
40 goes into 38 0 times with a remainder of 38.
Write down 0 as next digit of the result. 
Result so far: 0.0
If we subtract 0 from 38, we get 38.
Fetch the next digit (0) from the dividend, attach it to 38 and continue: 380 / 40

Moving on to step 3:
40 can be fit into 380 9 times, resulting in a remainder of 20.
Write down 9 as next digit of the result. 
Result so far: 9.0
If we subtract 360 from 380, we get 20.
Bring next digit (8) of the dividend behind the 20 and repeat the process: 208 / 40

Advancing to step 4:
If we divide 208 by 40, we get 5 and a remainder of 8.
Use 5 as the next digit of our solution. 
Result so far: 95.0
If we take 200 away from 208, we end up with 8.
Append the next digit (8) from the dividend to 8 and continue with: 88 / 40

Going ahead to step 5:
The number 40 fits into 88 2 times, leaving a remainder of 8.
The next digit of our result is 2. 
Result so far: 952.0
The remainder is 8 after subtracting 80 from 88.
Append the next digit (4) from the dividend to 8 and continue with: 84 / 40

Step 6:
84 divided by 40 is 2 with a remainder of 4.
The next digit of our result is 2. 
Result so far: 9522.0
If we subtract 80 from 84, 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.

On to step 7:
When dividing 40 by 40, we get 1 with a remainder of 0.
The next digit of our result is 1. 
Result so far: 9522.1
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.

Going ahead to step 8:
0 divided by 40 is 0 with a remainder of 0.
Write down 0 as next digit of the result. 
Result so far: 9522.1
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.

Going ahead to step 9:
40 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: 9522.1
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.

The final result is 9522.1 with a remainder of 0.0.