40080417 ÷ 974 
We want to figure out the number of times 40080417 can be divided by 974.

Step 1:
974 goes into 4 0 times with a remainder of 4.
Write down 0 as next digit of the result. 
Result so far: 0.0
Subtracting 0 from 4 leaves us with 4.
Grab the next digit (0) from the dividend, add it to 4, then carry on: 40 / 974

Moving on to step 2:
40 divided by 974 is 0 with a remainder of 40.
Put 0 as the next digit of the answer. 
Result so far: 0.0
Deduct 0 from 40 and we're left with 40.
Grab the next digit (0) from the dividend, add it to 40, then carry on: 400 / 974

Step 3:
974 goes into 400 0 times with a remainder of 400.
The next digit of our result is 0. 
Result so far: 0.0
The remainder is 400 after subtracting 0 from 400.
Append the next digit (8) from the dividend to 400 and continue with: 4008 / 974

Going ahead to step 4:
4008 divided by 974 is 4 with a remainder of 112.
Record the quotient 4 as the next digit in the result. 
Result so far: 4.0
The remainder is 112 after subtracting 3896 from 4008.
Take the next digit (0) from the dividend and append it to 112, then repeat: 1120 / 974

Moving on to step 5:
The number 974 fits into 1120 1 times, leaving a remainder of 146.
The next digit of our result is 1. 
Result so far: 41.0
The remainder is 146 after subtracting 974 from 1120.
Append the next digit (4) from the dividend to 146 and continue with: 1464 / 974

Going ahead to step 6:
The number 974 fits into 1464 1 times, leaving a remainder of 490.
Record the quotient 1 as the next digit in the result. 
Result so far: 411.0
If we take 974 away from 1464, we end up with 490.
Append the next digit (1) from the dividend to 490 and continue with: 4901 / 974

Going ahead to step 7:
4901 divided by 974 is 5 with a remainder of 31.
Use 5 as the next digit of our solution. 
Result so far: 4115.0
Subtract 4870 from 4901 to get 31.
Fetch the next digit (7) from the dividend, attach it to 31 and continue: 317 / 974

Moving on to step 8:
974 goes into 317 0 times with a remainder of 317.
Write down 0 as next digit of the result. 
Result so far: 41150.0
If we subtract 0 from 317, we get 317.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3170, and continue the process.

On to step 9:
3170 divided by 974 is 3 with a remainder of 248.
The number 3 becomes the next digit in our result. 
Result so far: 41150.3
If we take 2922 away from 3170, we end up with 248.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2480, and continue the process.

Going ahead to step 10:
If we divide 2480 by 974, we get 2 and a remainder of 532.
The next digit of our result is 2. 
Result so far: 41150.32
Subtracting 1948 from 2480 leaves us with 532.
Since there are no more digits in the dividend, we add a zero to the remainder making it 5320, and continue the process.

Advancing to step 11:
The number 974 fits into 5320 5 times, leaving a remainder of 450.
Write down 5 as next digit of the result. 
Result so far: 41150.325
Deduct 4870 from 5320 and we're left with 450.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4500, and continue the process.

On to step 12:
974 goes into 4500 4 times with a remainder of 604.
Put 4 as the next digit of the answer. 
Result so far: 41150.3254
Deduct 3896 from 4500 and we're left with 604.
Since there are no more digits in the dividend, we add a zero to the remainder making it 6040, and continue the process.

Going ahead to step 13:
6040 divided by 974 is 6 with a remainder of 196.
Record the quotient 6 as the next digit in the result. 
Result so far: 41150.32546
Subtracting 5844 from 6040 leaves us with 196.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1960, and continue the process.

Step 14:
If we divide 1960 by 974, we get 2 and a remainder of 12.
The next digit of our result is 2. 
Result so far: 41150.325462
Subtract 1948 from 1960 to get 12.
Since there are no more digits in the dividend, we add a zero to the remainder making it 120, and continue the process.

On to step 15:
The number 974 fits into 120 0 times, leaving a remainder of 120.
Use 0 as the next digit of our solution. 
Result so far: 41150.325462
If we take 0 away from 120, we end up with 120.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1200, and continue the process.

Step 16:
974 goes into 1200 1 times with a remainder of 226.
Record the quotient 1 as the next digit in the result. 
Result so far: 41150.32546201
The remainder is 226 after subtracting 974 from 1200.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2260, and continue the process.

The final result is 41150.32546201 with a remainder of 2.26e-07.