We're dividing 558760 by 40 
We're looking to find how many times 40 goes into 558760.

Advancing 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
If we take 0 away from 5, we end up with 5.
Include the next digit (5) from the dividend after 5, then repeat: 55 / 40

Going ahead to step 2:
40 goes into 55 1 times with a remainder of 15.
Record the quotient 1 as the next digit in the result. 
Result so far: 1.0
Subtract 40 from 55 to get 15.
Take the next digit (8) from the dividend and append it to 15, then repeat: 158 / 40

Let's proceed to step 3:
If we divide 158 by 40, we get 3 and a remainder of 38.
Use 3 as the next digit of our solution. 
Result so far: 13.0
The remainder is 38 after subtracting 120 from 158.
Include the next digit (7) from the dividend after 38, then repeat: 387 / 40

Let's proceed to step 4:
387 divided by 40 is 9 with a remainder of 27.
Put 9 as the next digit of the answer. 
Result so far: 139.0
If we subtract 360 from 387, we get 27.
Take the next digit (6) from the dividend and append it to 27, then repeat: 276 / 40

Advancing to step 5:
If we divide 276 by 40, we get 6 and a remainder of 36.
Record the quotient 6 as the next digit in the result. 
Result so far: 1396.0
Subtract 240 from 276 to get 36.
Grab the next digit (0) from the dividend, add it to 36, then carry on: 360 / 40

Going ahead to step 6:
40 can be fit into 360 9 times, resulting in a remainder of 0.
The number 9 becomes the next digit in our result. 
Result so far: 13969.0
If we subtract 360 from 360, 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.

Advancing to step 7:
When dividing 0 by 40, we get 0 with a remainder of 0.
The next digit of our result is 0. 
Result so far: 13969.0
Subtract 0 from 0 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.

Moving on to step 8:
If we divide 0 by 40, we get 0 and a remainder of 0.
The next digit of our result is 0. 
Result so far: 13969.0
If we take 0 away from 0, we end up 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 13969.0 with a remainder of 0.0.