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

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
Subtract 0 from 5 to get 5.
Fetch the next digit (8) from the dividend, attach it to 5 and continue: 58 / 40

Let's proceed to step 2:
40 can be fit into 58 1 times, resulting in a remainder of 18.
Put 1 as the next digit of the answer. 
Result so far: 1.0
Subtracting 40 from 58 leaves us with 18.
Grab the next digit (8) from the dividend, add it to 18, then carry on: 188 / 40

Let's proceed to step 3:
When dividing 188 by 40, we get 4 with a remainder of 28.
Put 4 as the next digit of the answer. 
Result so far: 14.0
The remainder is 28 after subtracting 160 from 188.
Fetch the next digit (4) from the dividend, attach it to 28 and continue: 284 / 40

Going ahead to step 4:
40 can be fit into 284 7 times, resulting in a remainder of 4.
Record the quotient 7 as the next digit in the result. 
Result so far: 147.0
If we take 280 away from 284, we end up with 4.
Take the next digit (4) from the dividend and append it to 4, then repeat: 44 / 40

Moving on to step 5:
If we divide 44 by 40, we get 1 and a remainder of 4.
Use 1 as the next digit of our solution. 
Result so far: 1471.0
Deduct 40 from 44 and we're left with 4.
Fetch the next digit (0) from the dividend, attach it to 4 and continue: 40 / 40

Step 6:
40 can be fit into 40 1 times, resulting in a remainder of 0.
Write down 1 as next digit of the result. 
Result so far: 14711.0
Subtracting 40 from 40 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.

Let's proceed to step 7:
40 goes into 0 0 times with a remainder of 0.
The next digit of our result is 0. 
Result so far: 14711.0
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.

On to step 8:
40 can be fit into 0 0 times, resulting in a remainder of 0.
Record the quotient 0 as the next digit in the result. 
Result so far: 14711.0
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.

The quotient of the division is 14711.0, and the remainder is 0.0.