590399 divided by 40 
Our goal is to divide 590399 by 40.

Moving on to step 1:
When dividing 5 by 40, we get 0 with a remainder of 5.
The number 0 becomes the next digit in our 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

On to step 2:
The number 40 fits into 59 1 times, leaving a remainder of 19.
Put 1 as the next digit of the answer. 
Result so far: 1.0
If we subtract 40 from 59, we get 19.
Take the next digit (0) from the dividend and append it to 19, then repeat: 190 / 40

Going ahead to step 3:
190 divided by 40 is 4 with a remainder of 30.
Record the quotient 4 as the next digit in the result. 
Result so far: 14.0
Subtracting 160 from 190 leaves us with 30.
Fetch the next digit (3) from the dividend, attach it to 30 and continue: 303 / 40

Let's proceed to step 4:
40 can be fit into 303 7 times, resulting in a remainder of 23.
The next digit of our result is 7. 
Result so far: 147.0
If we subtract 280 from 303, we get 23.
Append the next digit (9) from the dividend to 23 and continue with: 239 / 40

Step 5:
40 goes into 239 5 times with a remainder of 39.
The number 5 becomes the next digit in our result. 
Result so far: 1475.0
If we take 200 away from 239, we end up with 39.
Grab the next digit (9) from the dividend, add it to 39, then carry on: 399 / 40

Going ahead to step 6:
40 goes into 399 9 times with a remainder of 39.
Record the quotient 9 as the next digit in the result. 
Result so far: 14759.0
Subtracting 360 from 399 leaves us with 39.
Since there are no more digits in the dividend, we add a zero to the remainder making it 390, and continue the process.

Advancing to step 7:
The number 40 fits into 390 9 times, leaving a remainder of 30.
Write down 9 as next digit of the result. 
Result so far: 14759.9
The remainder is 30 after subtracting 360 from 390.
Since there are no more digits in the dividend, we add a zero to the remainder making it 300, and continue the process.

Going ahead 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: 14759.97
Deduct 280 from 300 and we're left 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.

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: 14759.975
Subtract 200 from 200 to 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 10:
When dividing 0 by 40, we get 0 with a remainder of 0.
Use 0 as the next digit of our solution. 
Result so far: 14759.975
The remainder is 0 after subtracting 0 from 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:
40 goes into 0 0 times with a remainder of 0.
Use 0 as the next digit of our solution. 
Result so far: 14759.975
The remainder is 0 after subtracting 0 from 0.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

After the division, we end up with 14759.975 and a remainder of 0.0.