986179 divided by 40 
We want to divide 986179 by 40.

Moving on to step 1:
The number 40 fits into 9 0 times, leaving a remainder of 9.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
If we take 0 away from 9, we end up with 9.
Fetch the next digit (8) from the dividend, attach it to 9 and continue: 98 / 40

Step 2:
The number 40 fits into 98 2 times, leaving a remainder of 18.
Write down 2 as next digit of the result. 
Result so far: 2.0
If we subtract 80 from 98, we get 18.
Grab the next digit (6) from the dividend, add it to 18, then carry on: 186 / 40

Step 3:
If we divide 186 by 40, we get 4 and a remainder of 26.
Record the quotient 4 as the next digit in the result. 
Result so far: 24.0
Subtract 160 from 186 to get 26.
Fetch the next digit (1) from the dividend, attach it to 26 and continue: 261 / 40

Moving on to step 4:
261 divided by 40 is 6 with a remainder of 21.
Write down 6 as next digit of the result. 
Result so far: 246.0
Subtract 240 from 261 to get 21.
Include the next digit (7) from the dividend after 21, then repeat: 217 / 40

Let's proceed to step 5:
If we divide 217 by 40, we get 5 and a remainder of 17.
The number 5 becomes the next digit in our result. 
Result so far: 2465.0
If we subtract 200 from 217, we get 17.
Take the next digit (9) from the dividend and append it to 17, then repeat: 179 / 40

Step 6:
40 goes into 179 4 times with a remainder of 19.
Use 4 as the next digit of our solution. 
Result so far: 24654.0
Subtract 160 from 179 to get 19.
Since there are no more digits in the dividend, we add a zero to the remainder making it 190, and continue the process.

Going ahead to step 7:
If we divide 190 by 40, we get 4 and a remainder of 30.
Use 4 as the next digit of our solution. 
Result so far: 24654.4
If we subtract 160 from 190, we get 30.
Since there are no more digits in the dividend, we add a zero to the remainder making it 300, and continue the process.

Advancing to step 8:
40 can be fit into 300 7 times, resulting in a remainder of 20.
Record the quotient 7 as the next digit in the result. 
Result so far: 24654.47
Subtracting 280 from 300 leaves us with 20.
Since there are no more digits in the dividend, we add a zero to the remainder making it 200, and continue the process.

Advancing to step 9:
If we divide 200 by 40, we get 5 and a remainder of 0.
The next digit of our result is 5. 
Result so far: 24654.475
Subtracting 200 from 200 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.

Advancing to step 10:
40 can be fit into 0 0 times, resulting in a remainder of 0.
Write down 0 as next digit of the result. 
Result so far: 24654.475
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 11:
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: 24654.475
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.

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