We're dividing 40595154 by 964 
Our goal is to divide 40595154 by 964.

Going ahead to step 1:
964 can be fit into 4 0 times, resulting in a remainder of 4.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
The remainder is 4 after subtracting 0 from 4.
Grab the next digit (0) from the dividend, add it to 4, then carry on: 40 / 964

Let's proceed to step 2:
964 goes into 40 0 times with a remainder of 40.
Write down 0 as next digit of the result. 
Result so far: 0.0
The remainder is 40 after subtracting 0 from 40.
Bring next digit (5) of the dividend behind the 40 and repeat the process: 405 / 964

Let's proceed to step 3:
The number 964 fits into 405 0 times, leaving a remainder of 405.
The next digit of our result is 0. 
Result so far: 0.0
Subtracting 0 from 405 leaves us with 405.
Include the next digit (9) from the dividend after 405, then repeat: 4059 / 964

On to step 4:
964 can be fit into 4059 4 times, resulting in a remainder of 203.
Use 4 as the next digit of our solution. 
Result so far: 4.0
Deduct 3856 from 4059 and we're left with 203.
Bring next digit (5) of the dividend behind the 203 and repeat the process: 2035 / 964

Going ahead to step 5:
964 can be fit into 2035 2 times, resulting in a remainder of 107.
Record the quotient 2 as the next digit in the result. 
Result so far: 42.0
If we subtract 1928 from 2035, we get 107.
Grab the next digit (1) from the dividend, add it to 107, then carry on: 1071 / 964

On to step 6:
When dividing 1071 by 964, we get 1 with a remainder of 107.
Write down 1 as next digit of the result. 
Result so far: 421.0
Deduct 964 from 1071 and we're left with 107.
Take the next digit (5) from the dividend and append it to 107, then repeat: 1075 / 964

On to step 7:
1075 divided by 964 is 1 with a remainder of 111.
Record the quotient 1 as the next digit in the result. 
Result so far: 4211.0
If we subtract 964 from 1075, we get 111.
Take the next digit (4) from the dividend and append it to 111, then repeat: 1114 / 964

Step 8:
1114 divided by 964 is 1 with a remainder of 150.
Record the quotient 1 as the next digit in the result. 
Result so far: 42111.0
The remainder is 150 after subtracting 964 from 1114.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1500, and continue the process.

Step 9:
If we divide 1500 by 964, we get 1 and a remainder of 536.
Record the quotient 1 as the next digit in the result. 
Result so far: 42111.1
If we subtract 964 from 1500, we get 536.
Since there are no more digits in the dividend, we add a zero to the remainder making it 5360, and continue the process.

Step 10:
5360 divided by 964 is 5 with a remainder of 540.
The number 5 becomes the next digit in our result. 
Result so far: 42111.15
The remainder is 540 after subtracting 4820 from 5360.
Since there are no more digits in the dividend, we add a zero to the remainder making it 5400, and continue the process.

Going ahead to step 11:
5400 divided by 964 is 5 with a remainder of 580.
The next digit of our result is 5. 
Result so far: 42111.155
If we take 4820 away from 5400, we end up with 580.
Since there are no more digits in the dividend, we add a zero to the remainder making it 5800, and continue the process.

In conclusion, the division gives 42111.155 with a balance of 0.058.