374397 divided by 40 
We want to figure out the number of times 374397 can be divided by 40.

Going ahead to step 1:
40 goes into 3 0 times with a remainder of 3.
The next digit of our result is 0. 
Result so far: 0.0
Subtract 0 from 3 to get 3.
Append the next digit (7) from the dividend to 3 and continue with: 37 / 40

Going ahead to step 2:
The number 40 fits into 37 0 times, leaving a remainder of 37.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
If we subtract 0 from 37, we get 37.
Bring next digit (4) of the dividend behind the 37 and repeat the process: 374 / 40

Moving on to step 3:
If we divide 374 by 40, we get 9 and a remainder of 14.
Write down 9 as next digit of the result. 
Result so far: 9.0
Subtract 360 from 374 to get 14.
Bring next digit (3) of the dividend behind the 14 and repeat the process: 143 / 40

Going ahead to step 4:
The number 40 fits into 143 3 times, leaving a remainder of 23.
Record the quotient 3 as the next digit in the result. 
Result so far: 93.0
Deduct 120 from 143 and we're left with 23.
Fetch the next digit (9) from the dividend, attach it to 23 and continue: 239 / 40

Step 5:
40 goes into 239 5 times with a remainder of 39.
The number 5 becomes the next digit in our result. 
Result so far: 935.0
If we take 200 away from 239, we end up with 39.
Take the next digit (7) from the dividend and append it to 39, then repeat: 397 / 40

Let's proceed to step 6:
397 divided by 40 is 9 with a remainder of 37.
Put 9 as the next digit of the answer. 
Result so far: 9359.0
Deduct 360 from 397 and we're left with 37.
Since there are no more digits in the dividend, we add a zero to the remainder making it 370, and continue the process.

Going ahead to step 7:
370 divided by 40 is 9 with a remainder of 10.
Write down 9 as next digit of the result. 
Result so far: 9359.9
Subtracting 360 from 370 leaves us with 10.
Since there are no more digits in the dividend, we add a zero to the remainder making it 100, and continue the process.

Step 8:
100 divided by 40 is 2 with a remainder of 20.
Record the quotient 2 as the next digit in the result. 
Result so far: 9359.92
If we take 80 away from 100, we end up with 20.
Since there are no more digits in the dividend, we add a zero to the remainder making it 200, and continue the process.

Moving on to step 9:
200 divided by 40 is 5 with a remainder of 0.
Put 5 as the next digit of the answer. 
Result so far: 9359.925
If we subtract 200 from 200, 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.

Going ahead to step 10:
0 divided by 40 is 0 with a remainder of 0.
Use 0 as the next digit of our solution. 
Result so far: 9359.925
Subtract 0 from 0 to 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.

Going ahead to step 11:
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: 9359.925
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.

The quotient of the division is 9359.925, and the remainder is 0.0.