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

Advancing to step 1:
40 goes into 9 0 times with a remainder of 9.
Put 0 as the next digit of the answer. 
Result so far: 0.0
The remainder is 9 after subtracting 0 from 9.
Bring next digit (9) of the dividend behind the 9 and repeat the process: 99 / 40

Let's proceed to step 2:
The number 40 fits into 99 2 times, leaving a remainder of 19.
Put 2 as the next digit of the answer. 
Result so far: 2.0
If we subtract 80 from 99, we get 19.
Append the next digit (8) from the dividend to 19 and continue with: 198 / 40

Advancing to step 3:
When dividing 198 by 40, we get 4 with a remainder of 38.
Use 4 as the next digit of our solution. 
Result so far: 24.0
If we take 160 away from 198, we end up with 38.
Grab the next digit (4) from the dividend, add it to 38, then carry on: 384 / 40

Going ahead to step 4:
384 divided by 40 is 9 with a remainder of 24.
The next digit of our result is 9. 
Result so far: 249.0
Deduct 360 from 384 and we're left with 24.
Include the next digit (2) from the dividend after 24, then repeat: 242 / 40

Moving on to step 5:
When dividing 242 by 40, we get 6 with a remainder of 2.
Use 6 as the next digit of our solution. 
Result so far: 2496.0
Subtracting 240 from 242 leaves us with 2.
Append the next digit (8) from the dividend to 2 and continue with: 28 / 40

Going ahead to step 6:
If we divide 28 by 40, we get 0 and a remainder of 28.
The next digit of our result is 0. 
Result so far: 24960.0
The remainder is 28 after subtracting 0 from 28.
Since there are no more digits in the dividend, we add a zero to the remainder making it 280, and continue the process.

Step 7:
40 can be fit into 280 7 times, resulting in a remainder of 0.
Put 7 as the next digit of the answer. 
Result so far: 24960.7
The remainder is 0 after subtracting 280 from 280.
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 8:
The number 40 fits into 0 0 times, leaving a remainder of 0.
Record the quotient 0 as the next digit in the result. 
Result so far: 24960.7
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 9:
If we divide 0 by 40, we get 0 and a remainder of 0.
The number 0 becomes the next digit in our result. 
Result so far: 24960.7
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 outcome is 24960.7, with a leftover of 0.0.