590514 divided by 40 
We want to figure out the number of times 590514 can be divided by 40.

On to step 1:
5 divided by 40 is 0 with a remainder of 5.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
Deduct 0 from 5 and we're left with 5.
Include the next digit (9) from the dividend after 5, then repeat: 59 / 40

Let's proceed to step 2:
59 divided by 40 is 1 with a remainder of 19.
Record the quotient 1 as the next digit in the result. 
Result so far: 1.0
Deduct 40 from 59 and we're left with 19.
Grab the next digit (0) from the dividend, add it to 19, then carry on: 190 / 40

Let's proceed to step 3:
40 goes into 190 4 times with a remainder of 30.
Put 4 as the next digit of the answer. 
Result so far: 14.0
If we subtract 160 from 190, we get 30.
Grab the next digit (5) from the dividend, add it to 30, then carry on: 305 / 40

Advancing to step 4:
If we divide 305 by 40, we get 7 and a remainder of 25.
The number 7 becomes the next digit in our result. 
Result so far: 147.0
Subtracting 280 from 305 leaves us with 25.
Take the next digit (1) from the dividend and append it to 25, then repeat: 251 / 40

Going ahead to step 5:
251 divided by 40 is 6 with a remainder of 11.
Write down 6 as next digit of the result. 
Result so far: 1476.0
If we subtract 240 from 251, we get 11.
Take the next digit (4) from the dividend and append it to 11, then repeat: 114 / 40

Going ahead to step 6:
The number 40 fits into 114 2 times, leaving a remainder of 34.
The next digit of our result is 2. 
Result so far: 14762.0
Subtracting 80 from 114 leaves us with 34.
Since there are no more digits in the dividend, we add a zero to the remainder making it 340, and continue the process.

Advancing to step 7:
40 goes into 340 8 times with a remainder of 20.
Use 8 as the next digit of our solution. 
Result so far: 14762.8
Subtract 320 from 340 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.

On to step 8:
40 goes into 200 5 times with a remainder of 0.
The number 5 becomes the next digit in our result. 
Result so far: 14762.85
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.

Advancing to step 9:
40 goes into 0 0 times with a remainder of 0.
Write down 0 as next digit of the result. 
Result so far: 14762.85
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.

Going ahead to step 10:
40 can be fit into 0 0 times, resulting in a remainder of 0.
The next digit of our result is 0. 
Result so far: 14762.85
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.

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