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

Advancing to step 1:
40 goes into 5 0 times with a remainder of 5.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
If we take 0 away from 5, we end up with 5.
Take the next digit (9) from the dividend and append it to 5, then repeat: 59 / 40

Going ahead to step 2:
When dividing 59 by 40, we get 1 with a remainder of 19.
Put 1 as the next digit of the answer. 
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

Let's proceed to step 3:
The number 40 fits into 196 4 times, leaving a remainder of 36.
Record the quotient 4 as the next digit in the result. 
Result so far: 14.0
Subtract 160 from 196 to get 36.
Grab the next digit (7) from the dividend, add it to 36, then carry on: 367 / 40

Moving on to step 4:
When dividing 367 by 40, we get 9 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.
Fetch the next digit (4) from the dividend, attach it to 7 and continue: 74 / 40

Step 5:
74 divided by 40 is 1 with a remainder of 34.
Record the quotient 1 as the next digit in the result. 
Result so far: 1491.0
The remainder is 34 after subtracting 40 from 74.
Take the next digit (7) from the dividend and append it to 34, then repeat: 347 / 40

Step 6:
40 goes into 347 8 times with a remainder of 27.
Put 8 as the next digit of the answer. 
Result so far: 14918.0
If we subtract 320 from 347, we get 27.
Since there are no more digits in the dividend, we add a zero to the remainder making it 270, and continue the process.

Step 7:
40 can be fit into 270 6 times, resulting in a remainder of 30.
The number 6 becomes the next digit in our result. 
Result so far: 14918.6
The remainder is 30 after subtracting 240 from 270.
Since there are no more digits in the dividend, we add a zero to the remainder making it 300, and continue the process.

Step 8:
When dividing 300 by 40, we get 7 with a remainder of 20.
Put 7 as the next digit of the answer. 
Result so far: 14918.67
The remainder is 20 after subtracting 280 from 300.
Since there are no more digits in the dividend, we add a zero to the remainder making it 200, and continue the process.

Let's proceed to step 9:
If we divide 200 by 40, we get 5 and a remainder of 0.
Record the quotient 5 as the next digit in the result. 
Result so far: 14918.675
If we take 200 away from 200, we end up 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.

Going ahead to step 10:
The number 40 fits into 0 0 times, leaving a remainder of 0.
Record the quotient 0 as the next digit in the result. 
Result so far: 14918.675
If we take 0 away from 0, we end up 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.

Moving on to step 11:
The number 40 fits into 0 0 times, leaving a remainder of 0.
The next digit of our result is 0. 
Result so far: 14918.675
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 14918.675 with a balance of 0.0.