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

Going ahead to step 1:
If we divide 9 by 40, we get 0 and a remainder of 9.
Use 0 as the next digit of our solution. 
Result so far: 0.0
Deduct 0 from 9 and we're left with 9.
Include the next digit (8) from the dividend after 9, then repeat: 98 / 40

Let's proceed to step 2:
40 goes into 98 2 times with a remainder of 18.
Use 2 as the next digit of our solution. 
Result so far: 2.0
If we take 80 away from 98, we end up with 18.
Include the next digit (0) from the dividend after 18, then repeat: 180 / 40

Advancing to step 3:
40 can be fit into 180 4 times, resulting in a remainder of 20.
Write down 4 as next digit of the result. 
Result so far: 24.0
Subtracting 160 from 180 leaves us with 20.
Fetch the next digit (8) from the dividend, attach it to 20 and continue: 208 / 40

Advancing to step 4:
208 divided by 40 is 5 with a remainder of 8.
Put 5 as the next digit of the answer. 
Result so far: 245.0
Deduct 200 from 208 and we're left with 8.
Fetch the next digit (0) from the dividend, attach it to 8 and continue: 80 / 40

Moving on to step 5:
80 divided by 40 is 2 with a remainder of 0.
The next digit of our result is 2. 
Result so far: 2452.0
Subtracting 80 from 80 leaves us with 0.
Bring next digit (6) of the dividend behind the 0 and repeat the process: 6 / 40

Advancing to step 6:
40 can be fit into 6 0 times, resulting in a remainder of 6.
Write down 0 as next digit of the result. 
Result so far: 24520.0
If we take 0 away from 6, we end up with 6.
Since there are no more digits in the dividend, we add a zero to the remainder making it 60, and continue the process.

Advancing to step 7:
60 divided by 40 is 1 with a remainder of 20.
Put 1 as the next digit of the answer. 
Result so far: 24520.1
The remainder is 20 after subtracting 40 from 60.
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.
Record the quotient 5 as the next digit in the result. 
Result so far: 24520.15
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.

On to step 9:
When dividing 0 by 40, we get 0 with a remainder of 0.
Record the quotient 0 as the next digit in the result. 
Result so far: 24520.15
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.

On to step 10:
If we divide 0 by 40, we get 0 and a remainder of 0.
Record the quotient 0 as the next digit in the result. 
Result so far: 24520.15
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.

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