Let's divide 42788040 by 874
We want to divide 42788040 by 874.

On to step 1:
874 can be fit into 4 0 times, resulting in 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.
Bring next digit (2) of the dividend behind the 4 and repeat the process: 42 / 874

Advancing to step 2:
874 can be fit into 42 0 times, resulting in a remainder of 42.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
Subtracting 0 from 42 leaves us with 42.
Bring next digit (7) of the dividend behind the 42 and repeat the process: 427 / 874

Advancing to step 3:
If we divide 427 by 874, we get 0 and a remainder of 427.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
Subtracting 0 from 427 leaves us with 427.
Grab the next digit (8) from the dividend, add it to 427, then carry on: 4278 / 874

Going ahead to step 4:
874 can be fit into 4278 4 times, resulting in a remainder of 782.
Use 4 as the next digit of our solution. 
Result so far: 4.0
If we take 3496 away from 4278, we end up with 782.
Fetch the next digit (8) from the dividend, attach it to 782 and continue: 7828 / 874

On to step 5:
When dividing 7828 by 874, we get 8 with a remainder of 836.
Record the quotient 8 as the next digit in the result. 
Result so far: 48.0
If we subtract 6992 from 7828, we get 836.
Include the next digit (0) from the dividend after 836, then repeat: 8360 / 874

On to step 6:
874 can be fit into 8360 9 times, resulting in a remainder of 494.
Put 9 as the next digit of the answer. 
Result so far: 489.0
Subtracting 7866 from 8360 leaves us with 494.
Append the next digit (4) from the dividend to 494 and continue with: 4944 / 874

Advancing to step 7:
874 goes into 4944 5 times with a remainder of 574.
Write down 5 as next digit of the result. 
Result so far: 4895.0
If we subtract 4370 from 4944, we get 574.
Take the next digit (0) from the dividend and append it to 574, then repeat: 5740 / 874

Moving on to step 8:
When dividing 5740 by 874, we get 6 with a remainder of 496.
The next digit of our result is 6. 
Result so far: 48956.0
If we take 5244 away from 5740, 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.

Moving on to step 9:
874 can be fit into 4960 5 times, resulting in a remainder of 590.
Use 5 as the next digit of our solution. 
Result so far: 48956.5
Subtracting 4370 from 4960 leaves us with 590.
Since there are no more digits in the dividend, we add a zero to the remainder making it 5900, and continue the process.

Step 10:
If we divide 5900 by 874, we get 6 and a remainder of 656.
Record the quotient 6 as the next digit in the result. 
Result so far: 48956.56
If we subtract 5244 from 5900, we get 656.
Since there are no more digits in the dividend, we add a zero to the remainder making it 6560, and continue the process.

On to step 11:
6560 divided by 874 is 7 with a remainder of 442.
Use 7 as the next digit of our solution. 
Result so far: 48956.567
If we subtract 6118 from 6560, we get 442.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4420, and continue the process.

Going ahead to step 12:
4420 divided by 874 is 5 with a remainder of 50.
Use 5 as the next digit of our solution. 
Result so far: 48956.5675
If we take 4370 away from 4420, we end up with 50.
Since there are no more digits in the dividend, we add a zero to the remainder making it 500, and continue the process.

On to step 13:
874 goes into 500 0 times with a remainder of 500.
Record the quotient 0 as the next digit in the result. 
Result so far: 48956.5675
If we take 0 away from 500, we end up with 500.
Since there are no more digits in the dividend, we add a zero to the remainder making it 5000, and continue the process.

Going ahead to step 14:
When dividing 5000 by 874, we get 5 with a remainder of 630.
The next digit of our result is 5. 
Result so far: 48956.567505
Subtract 4370 from 5000 to get 630.
Since there are no more digits in the dividend, we add a zero to the remainder making it 6300, and continue the process.

On to step 15:
The number 874 fits into 6300 7 times, leaving a remainder of 182.
Put 7 as the next digit of the answer. 
Result so far: 48956.5675057
Subtract 6118 from 6300 to get 182.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1820, and continue the process.

Advancing to step 16:
When dividing 1820 by 874, we get 2 with a remainder of 72.
The next digit of our result is 2. 
Result so far: 48956.56750572
If we subtract 1748 from 1820, we get 72.
Since there are no more digits in the dividend, we add a zero to the remainder making it 720, and continue the process.

The quotient of the division is 48956.56750572, and the remainder is 7.2e-08.