We divide 10022478 by 418
We're looking to find how many times 418 goes into 10022478.

Going ahead to step 1:
The number 418 fits into 1 0 times, leaving a remainder of 1.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
The remainder is 1 after subtracting 0 from 1.
Append the next digit (0) from the dividend to 1 and continue with: 10 / 418

On to step 2:
418 goes into 10 0 times with a remainder of 10.
Put 0 as the next digit of the answer. 
Result so far: 0.0
If we take 0 away from 10, we end up with 10.
Include the next digit (0) from the dividend after 10, then repeat: 100 / 418

Advancing to step 3:
When dividing 100 by 418, we get 0 with a remainder of 100.
The next digit of our result is 0. 
Result so far: 0.0
The remainder is 100 after subtracting 0 from 100.
Fetch the next digit (2) from the dividend, attach it to 100 and continue: 1002 / 418

Step 4:
If we divide 1002 by 418, we get 2 and a remainder of 166.
Use 2 as the next digit of our solution. 
Result so far: 2.0
If we take 836 away from 1002, we end up with 166.
Take the next digit (2) from the dividend and append it to 166, then repeat: 1662 / 418

Step 5:
1662 divided by 418 is 3 with a remainder of 408.
The next digit of our result is 3. 
Result so far: 23.0
Deduct 1254 from 1662 and we're left with 408.
Fetch the next digit (4) from the dividend, attach it to 408 and continue: 4084 / 418

Moving on to step 6:
4084 divided by 418 is 9 with a remainder of 322.
The next digit of our result is 9. 
Result so far: 239.0
If we take 3762 away from 4084, we end up with 322.
Fetch the next digit (7) from the dividend, attach it to 322 and continue: 3227 / 418

On to step 7:
3227 divided by 418 is 7 with a remainder of 301.
The number 7 becomes the next digit in our result. 
Result so far: 2397.0
The remainder is 301 after subtracting 2926 from 3227.
Fetch the next digit (8) from the dividend, attach it to 301 and continue: 3018 / 418

Going ahead to step 8:
418 goes into 3018 7 times with a remainder of 92.
Record the quotient 7 as the next digit in the result. 
Result so far: 23977.0
If we take 2926 away from 3018, we end up with 92.
Since there are no more digits in the dividend, we add a zero to the remainder making it 920, and continue the process.

Moving on to step 9:
418 can be fit into 920 2 times, resulting in a remainder of 84.
Write down 2 as next digit of the result. 
Result so far: 23977.2
If we subtract 836 from 920, we get 84.
Since there are no more digits in the dividend, we add a zero to the remainder making it 840, and continue the process.

Step 10:
840 divided by 418 is 2 with a remainder of 4.
The next digit of our result is 2. 
Result so far: 23977.22
If we subtract 836 from 840, we get 4.
Since there are no more digits in the dividend, we add a zero to the remainder making it 40, and continue the process.

The quotient of the division is 23977.22, and the remainder is 0.004.