We're dividing 40028525 by 964 
We want to divide 40028525 by 964.

Let's proceed to step 1:
964 can be fit into 4 0 times, resulting in a remainder of 4.
Write down 0 as next digit of the result. 
Result so far: 0.0
Deduct 0 from 4 and we're left with 4.
Fetch the next digit (0) from the dividend, attach it to 4 and continue: 40 / 964

Step 2:
964 can be fit into 40 0 times, resulting in a remainder of 40.
Write down 0 as next digit of the result. 
Result so far: 0.0
If we take 0 away from 40, we end up with 40.
Fetch the next digit (0) from the dividend, attach it to 40 and continue: 400 / 964

Moving on to step 3:
When dividing 400 by 964, we get 0 with a remainder of 400.
Use 0 as the next digit of our solution. 
Result so far: 0.0
If we take 0 away from 400, we end up with 400.
Include the next digit (2) from the dividend after 400, then repeat: 4002 / 964

Step 4:
When dividing 4002 by 964, we get 4 with a remainder of 146.
The number 4 becomes the next digit in our result. 
Result so far: 4.0
Deduct 3856 from 4002 and we're left with 146.
Bring next digit (8) of the dividend behind the 146 and repeat the process: 1468 / 964

Going ahead to step 5:
When dividing 1468 by 964, we get 1 with a remainder of 504.
Write down 1 as next digit of the result. 
Result so far: 41.0
Deduct 964 from 1468 and we're left with 504.
Take the next digit (5) from the dividend and append it to 504, then repeat: 5045 / 964

Step 6:
5045 divided by 964 is 5 with a remainder of 225.
The number 5 becomes the next digit in our result. 
Result so far: 415.0
If we subtract 4820 from 5045, we get 225.
Take the next digit (2) from the dividend and append it to 225, then repeat: 2252 / 964

Let's proceed to step 7:
964 goes into 2252 2 times with a remainder of 324.
Write down 2 as next digit of the result. 
Result so far: 4152.0
Subtract 1928 from 2252 to get 324.
Fetch the next digit (5) from the dividend, attach it to 324 and continue: 3245 / 964

Let's proceed to step 8:
964 can be fit into 3245 3 times, resulting in a remainder of 353.
Record the quotient 3 as the next digit in the result. 
Result so far: 41523.0
The remainder is 353 after subtracting 2892 from 3245.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3530, and continue the process.

Going ahead to step 9:
964 goes into 3530 3 times with a remainder of 638.
Use 3 as the next digit of our solution. 
Result so far: 41523.3
If we subtract 2892 from 3530, we get 638.
Since there are no more digits in the dividend, we add a zero to the remainder making it 6380, and continue the process.

Step 10:
6380 divided by 964 is 6 with a remainder of 596.
Write down 6 as next digit of the result. 
Result so far: 41523.36
Subtracting 5784 from 6380 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.

On to step 11:
The number 964 fits into 5960 6 times, leaving a remainder of 176.
Put 6 as the next digit of the answer. 
Result so far: 41523.366
Deduct 5784 from 5960 and we're left with 176.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1760, and continue the process.

The final outcome is 41523.366, with a leftover of 0.0176.