596299 divided by 40 
Let's see how many times 40 fits into 596299.

Moving on to step 1:
If we divide 5 by 40, we get 0 and a remainder of 5.
Put 0 as the next digit of the answer. 
Result so far: 0.0
If we take 0 away from 5, we end up with 5.
Include the next digit (9) from the dividend after 5, then repeat: 59 / 40

Let's proceed 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.
Grab the next digit (6) from the dividend, add it to 19, then carry on: 196 / 40

Moving on to step 3:
The number 40 fits into 196 4 times, leaving a remainder of 36.
Put 4 as the next digit of the answer. 
Result so far: 14.0
The remainder is 36 after subtracting 160 from 196.
Bring next digit (2) of the dividend behind the 36 and repeat the process: 362 / 40

Moving on to step 4:
40 goes into 362 9 times with a remainder of 2.
Record the quotient 9 as the next digit in the result. 
Result so far: 149.0
Deduct 360 from 362 and we're left with 2.
Take the next digit (9) from the dividend and append it to 2, then repeat: 29 / 40

Step 5:
If we divide 29 by 40, we get 0 and a remainder of 29.
Record the quotient 0 as the next digit in the result. 
Result so far: 1490.0
If we subtract 0 from 29, we get 29.
Append the next digit (9) from the dividend to 29 and continue with: 299 / 40

Advancing to step 6:
The number 40 fits into 299 7 times, leaving a remainder of 19.
Write down 7 as next digit of the result. 
Result so far: 14907.0
Subtract 280 from 299 to get 19.
Since there are no more digits in the dividend, we add a zero to the remainder making it 190, and continue the process.

Step 7:
The number 40 fits into 190 4 times, leaving a remainder of 30.
The number 4 becomes the next digit in our result. 
Result so far: 14907.4
If we take 160 away from 190, we end up with 30.
Since there are no more digits in the dividend, we add a zero to the remainder making it 300, and continue the process.

Moving on to step 8:
When dividing 300 by 40, we get 7 with a remainder of 20.
The next digit of our result is 7. 
Result so far: 14907.47
If we subtract 280 from 300, we get 20.
Since there are no more digits in the dividend, we add a zero to the remainder making it 200, and continue the process.

On to 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: 14907.475
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.

Step 10:
0 divided by 40 is 0 with a remainder of 0.
Write down 0 as next digit of the result. 
Result so far: 14907.475
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.

Let's proceed to step 11:
40 goes into 0 0 times with a remainder of 0.
Write down 0 as next digit of the result. 
Result so far: 14907.475
Subtracting 0 from 0 leaves us 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.

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