Let's divide 595919 by 40
Let's see how many times 40 fits into 595919.

Going ahead to step 1:
The number 40 fits into 5 0 times, leaving a remainder of 5.
Write down 0 as next digit of the result. 
Result so far: 0.0
Subtracting 0 from 5 leaves us with 5.
Take the next digit (9) from the dividend and append it to 5, then repeat: 59 / 40

Going ahead to step 2:
40 can be fit into 59 1 times, resulting in a remainder of 19.
The next digit of our result is 1. 
Result so far: 1.0
The remainder is 19 after subtracting 40 from 59.
Fetch the next digit (5) from the dividend, attach it to 19 and continue: 195 / 40

Step 3:
195 divided by 40 is 4 with a remainder of 35.
Record the quotient 4 as the next digit in the result. 
Result so far: 14.0
If we take 160 away from 195, we end up with 35.
Take the next digit (9) from the dividend and append it to 35, then repeat: 359 / 40

On to step 4:
If we divide 359 by 40, we get 8 and a remainder of 39.
Use 8 as the next digit of our solution. 
Result so far: 148.0
Subtracting 320 from 359 leaves us with 39.
Include the next digit (1) from the dividend after 39, then repeat: 391 / 40

Step 5:
If we divide 391 by 40, we get 9 and a remainder of 31.
The number 9 becomes the next digit in our result. 
Result so far: 1489.0
The remainder is 31 after subtracting 360 from 391.
Take the next digit (9) from the dividend and append it to 31, then repeat: 319 / 40

Step 6:
40 goes into 319 7 times with a remainder of 39.
Use 7 as the next digit of our solution. 
Result so far: 14897.0
The remainder is 39 after subtracting 280 from 319.
Since there are no more digits in the dividend, we add a zero to the remainder making it 390, and continue the process.

Let's proceed to step 7:
If we divide 390 by 40, we get 9 and a remainder of 30.
The next digit of our result is 9. 
Result so far: 14897.9
If we subtract 360 from 390, we get 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:
The number 40 fits into 300 7 times, leaving a remainder of 20.
Use 7 as the next digit of our solution. 
Result so far: 14897.97
Subtract 280 from 300 to 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.

Advancing 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: 14897.975
The remainder is 0 after subtracting 200 from 200.
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 10:
40 goes into 0 0 times with a remainder of 0.
Write down 0 as next digit of the result. 
Result so far: 14897.975
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.

Going ahead to step 11:
When dividing 0 by 40, we get 0 with a remainder of 0.
The number 0 becomes the next digit in our result. 
Result so far: 14897.975
Deduct 0 from 0 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.

The final result is 14897.975 with a remainder of 0.0.