We divide 40066174 by 984
Our goal is to divide 40066174 by 984.

Going ahead to step 1:
984 goes into 4 0 times with a remainder of 4.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
The remainder is 4 after subtracting 0 from 4.
Fetch the next digit (0) from the dividend, attach it to 4 and continue: 40 / 984

On to step 2:
40 divided by 984 is 0 with a remainder of 40.
The next digit of our result is 0. 
Result so far: 0.0
If we take 0 away from 40, we end up with 40.
Take the next digit (0) from the dividend and append it to 40, then repeat: 400 / 984

On to step 3:
400 divided by 984 is 0 with a remainder of 400.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
Subtracting 0 from 400 leaves us with 400.
Grab the next digit (6) from the dividend, add it to 400, then carry on: 4006 / 984

On to step 4:
The number 984 fits into 4006 4 times, leaving a remainder of 70.
Put 4 as the next digit of the answer. 
Result so far: 4.0
If we take 3936 away from 4006, we end up with 70.
Take the next digit (6) from the dividend and append it to 70, then repeat: 706 / 984

Step 5:
When dividing 706 by 984, we get 0 with a remainder of 706.
Record the quotient 0 as the next digit in the result. 
Result so far: 40.0
Subtract 0 from 706 to get 706.
Take the next digit (1) from the dividend and append it to 706, then repeat: 7061 / 984

Step 6:
If we divide 7061 by 984, we get 7 and a remainder of 173.
Use 7 as the next digit of our solution. 
Result so far: 407.0
If we subtract 6888 from 7061, we get 173.
Bring next digit (7) of the dividend behind the 173 and repeat the process: 1737 / 984

Advancing to step 7:
The number 984 fits into 1737 1 times, leaving a remainder of 753.
Write down 1 as next digit of the result. 
Result so far: 4071.0
Deduct 984 from 1737 and we're left with 753.
Include the next digit (4) from the dividend after 753, then repeat: 7534 / 984

Advancing to step 8:
The number 984 fits into 7534 7 times, leaving a remainder of 646.
The number 7 becomes the next digit in our result. 
Result so far: 40717.0
The remainder is 646 after subtracting 6888 from 7534.
Since there are no more digits in the dividend, we add a zero to the remainder making it 6460, and continue the process.

Moving on to step 9:
When dividing 6460 by 984, we get 6 with a remainder of 556.
Use 6 as the next digit of our solution. 
Result so far: 40717.6
Subtracting 5904 from 6460 leaves us with 556.
Since there are no more digits in the dividend, we add a zero to the remainder making it 5560, and continue the process.

Step 10:
984 can be fit into 5560 5 times, resulting in a remainder of 640.
Record the quotient 5 as the next digit in the result. 
Result so far: 40717.65
If we subtract 4920 from 5560, we get 640.
Since there are no more digits in the dividend, we add a zero to the remainder making it 6400, and continue the process.

Step 11:
984 goes into 6400 6 times with a remainder of 496.
Record the quotient 6 as the next digit in the result. 
Result so far: 40717.656
If we subtract 5904 from 6400, we get 496.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4960, and continue the process.

Advancing to step 12:
The number 984 fits into 4960 5 times, leaving a remainder of 40.
The number 5 becomes the next digit in our result. 
Result so far: 40717.6565
The remainder is 40 after subtracting 4920 from 4960.
Since there are no more digits in the dividend, we add a zero to the remainder making it 400, and continue the process.

Moving on to step 13:
400 divided by 984 is 0 with a remainder of 400.
Write down 0 as next digit of the result. 
Result so far: 40717.6565
The remainder is 400 after subtracting 0 from 400.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4000, and continue the process.

Moving on to step 14:
4000 divided by 984 is 4 with a remainder of 64.
Use 4 as the next digit of our solution. 
Result so far: 40717.656504
Subtract 3936 from 4000 to get 64.
Since there are no more digits in the dividend, we add a zero to the remainder making it 640, and continue the process.

Moving on to step 15:
When dividing 640 by 984, we get 0 with a remainder of 640.
Use 0 as the next digit of our solution. 
Result so far: 40717.656504
If we subtract 0 from 640, we get 640.
Since there are no more digits in the dividend, we add a zero to the remainder making it 6400, and continue the process.

Let's proceed to step 16:
984 can be fit into 6400 6 times, resulting in a remainder of 496.
Write down 6 as next digit of the result. 
Result so far: 40717.65650406
If we take 5904 away from 6400, we end up with 496.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4960, and continue the process.

The final result is 40717.65650406 with a remainder of 4.96e-07.