We're dividing 783382 by 40 
We want to figure out the number of times 783382 can be divided by 40.

Let's proceed to step 1:
When dividing 7 by 40, we get 0 with a remainder of 7.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
The remainder is 7 after subtracting 0 from 7.
Grab the next digit (8) from the dividend, add it to 7, then carry on: 78 / 40

Step 2:
40 can be fit into 78 1 times, resulting in a remainder of 38.
The number 1 becomes the next digit in our result. 
Result so far: 1.0
If we subtract 40 from 78, we get 38.
Take the next digit (3) from the dividend and append it to 38, then repeat: 383 / 40

Advancing to step 3:
When dividing 383 by 40, we get 9 with a remainder of 23.
Put 9 as the next digit of the answer. 
Result so far: 19.0
If we subtract 360 from 383, we get 23.
Append the next digit (3) from the dividend to 23 and continue with: 233 / 40

Going ahead to step 4:
40 goes into 233 5 times with a remainder of 33.
The next digit of our result is 5. 
Result so far: 195.0
If we take 200 away from 233, we end up with 33.
Grab the next digit (8) from the dividend, add it to 33, then carry on: 338 / 40

Moving on to step 5:
338 divided by 40 is 8 with a remainder of 18.
Use 8 as the next digit of our solution. 
Result so far: 1958.0
Subtract 320 from 338 to get 18.
Grab the next digit (2) from the dividend, add it to 18, then carry on: 182 / 40

On to step 6:
If we divide 182 by 40, we get 4 and a remainder of 22.
Put 4 as the next digit of the answer. 
Result so far: 19584.0
The remainder is 22 after subtracting 160 from 182.
Since there are no more digits in the dividend, we add a zero to the remainder making it 220, and continue the process.

On to step 7:
If we divide 220 by 40, we get 5 and a remainder of 20.
The number 5 becomes the next digit in our result. 
Result so far: 19584.5
Deduct 200 from 220 and we're left 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.

Step 8:
The number 40 fits into 200 5 times, leaving a remainder of 0.
The number 5 becomes the next digit in our result. 
Result so far: 19584.55
The remainder is 0 after subtracting 200 from 200.
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 19584.55, and the remainder is 0.0.