We divide 964193 by 40
We're looking to find how many times 40 goes into 964193.

Let's proceed to step 1:
9 divided by 40 is 0 with a remainder of 9.
Put 0 as the next digit of the answer. 
Result so far: 0.0
If we subtract 0 from 9, we get 9.
Include the next digit (6) from the dividend after 9, then repeat: 96 / 40

On to step 2:
40 can be fit into 96 2 times, resulting in a remainder of 16.
The number 2 becomes the next digit in our result. 
Result so far: 2.0
If we take 80 away from 96, we end up with 16.
Append the next digit (4) from the dividend to 16 and continue with: 164 / 40

Step 3:
40 goes into 164 4 times with a remainder of 4.
The next digit of our result is 4. 
Result so far: 24.0
The remainder is 4 after subtracting 160 from 164.
Fetch the next digit (1) from the dividend, attach it to 4 and continue: 41 / 40

On to step 4:
40 can be fit into 41 1 times, resulting in a remainder of 1.
Write down 1 as next digit of the result. 
Result so far: 241.0
Subtracting 40 from 41 leaves us with 1.
Fetch the next digit (9) from the dividend, attach it to 1 and continue: 19 / 40

Moving on to step 5:
If we divide 19 by 40, we get 0 and a remainder of 19.
Write down 0 as next digit of the result. 
Result so far: 2410.0
If we take 0 away from 19, we end up with 19.
Take the next digit (3) from the dividend and append it to 19, then repeat: 193 / 40

Let's proceed to step 6:
When dividing 193 by 40, we get 4 with a remainder of 33.
Write down 4 as next digit of the result. 
Result so far: 24104.0
If we subtract 160 from 193, we get 33.
Since there are no more digits in the dividend, we add a zero to the remainder making it 330, and continue the process.

Going ahead to step 7:
40 goes into 330 8 times with a remainder of 10.
Use 8 as the next digit of our solution. 
Result so far: 24104.8
If we subtract 320 from 330, we get 10.
Since there are no more digits in the dividend, we add a zero to the remainder making it 100, and continue the process.

Advancing to step 8:
40 can be fit into 100 2 times, resulting in a remainder of 20.
The next digit of our result is 2. 
Result so far: 24104.82
If we subtract 80 from 100, we get 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:
If we divide 200 by 40, we get 5 and a remainder of 0.
Write down 5 as next digit of the result. 
Result so far: 24104.825
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.

Let's proceed to step 10:
40 goes into 0 0 times with a remainder of 0.
Use 0 as the next digit of our solution. 
Result so far: 24104.825
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.

Let's proceed to step 11:
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: 24104.825
Subtracting 0 from 0 leaves us 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 final outcome is 24104.825, with a leftover of 0.0.