We're dividing 380019 by 40 
We want to divide 380019 by 40.

On to step 1:
When dividing 3 by 40, we get 0 with a remainder of 3.
Write down 0 as next digit of the result. 
Result so far: 0.0
Subtracting 0 from 3 leaves us with 3.
Take the next digit (8) from the dividend and append it to 3, then repeat: 38 / 40

On to step 2:
40 can be fit into 38 0 times, resulting in a remainder of 38.
Use 0 as the next digit of our solution. 
Result so far: 0.0
Subtract 0 from 38 to get 38.
Include the next digit (0) from the dividend after 38, then repeat: 380 / 40

Advancing to step 3:
40 goes into 380 9 times with a remainder of 20.
Use 9 as the next digit of our solution. 
Result so far: 9.0
If we take 360 away from 380, we end up with 20.
Include the next digit (0) from the dividend after 20, then repeat: 200 / 40

On to step 4:
The number 40 fits into 200 5 times, leaving a remainder of 0.
Put 5 as the next digit of the answer. 
Result so far: 95.0
The remainder is 0 after subtracting 200 from 200.
Append the next digit (1) from the dividend to 0 and continue with: 1 / 40

Let's proceed to step 5:
40 goes into 1 0 times with a remainder of 1.
Put 0 as the next digit of the answer. 
Result so far: 950.0
Deduct 0 from 1 and we're left with 1.
Include the next digit (9) from the dividend after 1, then repeat: 19 / 40

On to step 6:
When dividing 19 by 40, we get 0 with a remainder of 19.
The number 0 becomes the next digit in our result. 
Result so far: 9500.0
Subtracting 0 from 19 leaves us with 19.
Since there are no more digits in the dividend, we add a zero to the remainder making it 190, and continue the process.

On to step 7:
If we divide 190 by 40, we get 4 and a remainder of 30.
Use 4 as the next digit of our solution. 
Result so far: 9500.4
Deduct 160 from 190 and we're left with 30.
Since there are no more digits in the dividend, we add a zero to the remainder making it 300, and continue the process.

Step 8:
If we divide 300 by 40, we get 7 and a remainder of 20.
Put 7 as the next digit of the answer. 
Result so far: 9500.47
The remainder is 20 after subtracting 280 from 300.
Since there are no more digits in the dividend, we add a zero to the remainder making it 200, and continue the process.

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

Step 10:
The number 40 fits into 0 0 times, leaving a remainder of 0.
Record the quotient 0 as the next digit in the result. 
Result so far: 9500.475
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.

Moving on to step 11:
0 divided by 40 is 0 with a remainder of 0.
The number 0 becomes the next digit in our result. 
Result so far: 9500.475
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 quotient of the division is 9500.475, and the remainder is 0.0.