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

Advancing to step 1:
The number 964 fits into 4 0 times, leaving a remainder of 4.
Use 0 as the next digit of our solution. 
Result so far: 0.0
If we take 0 away from 4, we end up with 4.
Fetch the next digit (0) from the dividend, attach it to 4 and continue: 40 / 964

On to step 2:
The number 964 fits into 40 0 times, leaving a remainder of 40.
Write down 0 as next digit of the result. 
Result so far: 0.0
If we subtract 0 from 40, we get 40.
Bring next digit (9) of the dividend behind the 40 and repeat the process: 409 / 964

Moving on to step 3:
If we divide 409 by 964, we get 0 and a remainder of 409.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
If we take 0 away from 409, we end up with 409.
Grab the next digit (8) from the dividend, add it to 409, then carry on: 4098 / 964

Moving on to step 4:
964 goes into 4098 4 times with a remainder of 242.
Record the quotient 4 as the next digit in the result. 
Result so far: 4.0
If we subtract 3856 from 4098, we get 242.
Append the next digit (9) from the dividend to 242 and continue with: 2429 / 964

Moving on to step 5:
964 can be fit into 2429 2 times, resulting in a remainder of 501.
Record the quotient 2 as the next digit in the result. 
Result so far: 42.0
Subtract 1928 from 2429 to get 501.
Grab the next digit (9) from the dividend, add it to 501, then carry on: 5019 / 964

Let's proceed to step 6:
964 can be fit into 5019 5 times, resulting in a remainder of 199.
Use 5 as the next digit of our solution. 
Result so far: 425.0
Subtracting 4820 from 5019 leaves us with 199.
Grab the next digit (6) from the dividend, add it to 199, then carry on: 1996 / 964

Let's proceed to step 7:
964 goes into 1996 2 times with a remainder of 68.
Use 2 as the next digit of our solution. 
Result so far: 4252.0
The remainder is 68 after subtracting 1928 from 1996.
Bring next digit (6) of the dividend behind the 68 and repeat the process: 686 / 964

On to step 8:
964 goes into 686 0 times with a remainder of 686.
The number 0 becomes the next digit in our result. 
Result so far: 42520.0
Deduct 0 from 686 and we're left with 686.
Since there are no more digits in the dividend, we add a zero to the remainder making it 6860, and continue the process.

On to step 9:
964 goes into 6860 7 times with a remainder of 112.
The number 7 becomes the next digit in our result. 
Result so far: 42520.7
Subtracting 6748 from 6860 leaves us with 112.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1120, and continue the process.

Advancing to step 10:
964 goes into 1120 1 times with a remainder of 156.
The next digit of our result is 1. 
Result so far: 42520.71
Deduct 964 from 1120 and we're left with 156.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1560, and continue the process.

Step 11:
964 can be fit into 1560 1 times, resulting in a remainder of 596.
Record the quotient 1 as the next digit in the result. 
Result so far: 42520.711
Subtracting 964 from 1560 leaves us with 596.
Since there are no more digits in the dividend, we add a zero to the remainder making it 5960, and continue the process.

In conclusion, the division gives 42520.711 with a balance of 0.0596.