We look at the division of 596773 by 40 
We want to divide 596773 by 40.

Step 1:
The number 40 fits into 5 0 times, leaving a remainder of 5.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
If we subtract 0 from 5, we get 5.
Include the next digit (9) from the dividend after 5, then repeat: 59 / 40

Advancing to step 2:
59 divided by 40 is 1 with a remainder of 19.
Use 1 as the next digit of our solution. 
Result so far: 1.0
If we take 40 away from 59, we end up with 19.
Include the next digit (6) from the dividend after 19, then repeat: 196 / 40

Moving on to step 3:
40 goes into 196 4 times with a remainder of 36.
The next digit of our result is 4. 
Result so far: 14.0
Subtract 160 from 196 to get 36.
Include the next digit (7) from the dividend after 36, then repeat: 367 / 40

Step 4:
40 goes into 367 9 times with a remainder of 7.
Use 9 as the next digit of our solution. 
Result so far: 149.0
Subtracting 360 from 367 leaves us with 7.
Bring next digit (7) of the dividend behind the 7 and repeat the process: 77 / 40

Let's proceed to step 5:
The number 40 fits into 77 1 times, leaving a remainder of 37.
Use 1 as the next digit of our solution. 
Result so far: 1491.0
If we take 40 away from 77, we end up with 37.
Bring next digit (3) of the dividend behind the 37 and repeat the process: 373 / 40

Step 6:
If we divide 373 by 40, we get 9 and a remainder of 13.
Record the quotient 9 as the next digit in the result. 
Result so far: 14919.0
Deduct 360 from 373 and we're left with 13.
Since there are no more digits in the dividend, we add a zero to the remainder making it 130, and continue the process.

Step 7:
The number 40 fits into 130 3 times, leaving a remainder of 10.
The next digit of our result is 3. 
Result so far: 14919.3
Subtract 120 from 130 to 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.

On to step 8:
When dividing 100 by 40, we get 2 with a remainder of 20.
The next digit of our result is 2. 
Result so far: 14919.32
Subtracting 80 from 100 leaves us 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 9:
40 goes into 200 5 times with a remainder of 0.
The number 5 becomes the next digit in our result. 
Result so far: 14919.325
Deduct 200 from 200 and we're left 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.

Let's proceed to step 10:
40 can be fit into 0 0 times, resulting in a remainder of 0.
Use 0 as the next digit of our solution. 
Result so far: 14919.325
If we subtract 0 from 0, 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.

Step 11:
0 divided by 40 is 0 with a remainder of 0.
The next digit of our result is 0. 
Result so far: 14919.325
If we subtract 0 from 0, 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.

In conclusion, the division gives 14919.325 with a balance of 0.0.