We look at the division of 42254577 by 402 
We want to divide 42254577 by 402.

Advancing to step 1:
402 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
Subtracting 0 from 4 leaves us with 4.
Bring next digit (2) of the dividend behind the 4 and repeat the process: 42 / 402

Step 2:
The number 402 fits into 42 0 times, leaving a remainder of 42.
Use 0 as the next digit of our solution. 
Result so far: 0.0
If we subtract 0 from 42, we get 42.
Grab the next digit (2) from the dividend, add it to 42, then carry on: 422 / 402

Going ahead to step 3:
When dividing 422 by 402, we get 1 with a remainder of 20.
Put 1 as the next digit of the answer. 
Result so far: 1.0
Deduct 402 from 422 and we're left with 20.
Grab the next digit (5) from the dividend, add it to 20, then carry on: 205 / 402

Moving on to step 4:
When dividing 205 by 402, we get 0 with a remainder of 205.
Write down 0 as next digit of the result. 
Result so far: 10.0
If we subtract 0 from 205, we get 205.
Grab the next digit (4) from the dividend, add it to 205, then carry on: 2054 / 402

Going ahead to step 5:
402 can be fit into 2054 5 times, resulting in a remainder of 44.
The next digit of our result is 5. 
Result so far: 105.0
Subtract 2010 from 2054 to get 44.
Grab the next digit (5) from the dividend, add it to 44, then carry on: 445 / 402

On to step 6:
When dividing 445 by 402, we get 1 with a remainder of 43.
The next digit of our result is 1. 
Result so far: 1051.0
Subtracting 402 from 445 leaves us with 43.
Fetch the next digit (7) from the dividend, attach it to 43 and continue: 437 / 402

Moving on to step 7:
402 can be fit into 437 1 times, resulting in a remainder of 35.
Use 1 as the next digit of our solution. 
Result so far: 10511.0
The remainder is 35 after subtracting 402 from 437.
Include the next digit (7) from the dividend after 35, then repeat: 357 / 402

Moving on to step 8:
The number 402 fits into 357 0 times, leaving a remainder of 357.
Put 0 as the next digit of the answer. 
Result so far: 105110.0
Subtracting 0 from 357 leaves us with 357.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3570, and continue the process.

Going ahead to step 9:
402 goes into 3570 8 times with a remainder of 354.
Put 8 as the next digit of the answer. 
Result so far: 105110.8
Subtracting 3216 from 3570 leaves us with 354.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3540, and continue the process.

Advancing to step 10:
When dividing 3540 by 402, we get 8 with a remainder of 324.
The next digit of our result is 8. 
Result so far: 105110.88
Subtracting 3216 from 3540 leaves us with 324.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3240, and continue the process.

The final result is 105110.88 with a remainder of 0.324.