We're dividing 40202260 by 628 
Our goal is to divide 40202260 by 628.

On to step 1:
When dividing 4 by 628, we get 0 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.
Grab the next digit (0) from the dividend, add it to 4, then carry on: 40 / 628

Going ahead to step 2:
628 can be fit into 40 0 times, resulting in a remainder of 40.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
Subtracting 0 from 40 leaves us with 40.
Include the next digit (2) from the dividend after 40, then repeat: 402 / 628

On to step 3:
If we divide 402 by 628, we get 0 and a remainder of 402.
Put 0 as the next digit of the answer. 
Result so far: 0.0
The remainder is 402 after subtracting 0 from 402.
Append the next digit (0) from the dividend to 402 and continue with: 4020 / 628

Going ahead to step 4:
628 can be fit into 4020 6 times, resulting in a remainder of 252.
Put 6 as the next digit of the answer. 
Result so far: 6.0
Deduct 3768 from 4020 and we're left with 252.
Grab the next digit (2) from the dividend, add it to 252, then carry on: 2522 / 628

Moving on to step 5:
628 can be fit into 2522 4 times, resulting in a remainder of 10.
Write down 4 as next digit of the result. 
Result so far: 64.0
The remainder is 10 after subtracting 2512 from 2522.
Grab the next digit (2) from the dividend, add it to 10, then carry on: 102 / 628

Moving on to step 6:
628 can be fit into 102 0 times, resulting in a remainder of 102.
Record the quotient 0 as the next digit in the result. 
Result so far: 640.0
The remainder is 102 after subtracting 0 from 102.
Fetch the next digit (6) from the dividend, attach it to 102 and continue: 1026 / 628

Advancing to step 7:
The number 628 fits into 1026 1 times, leaving a remainder of 398.
Record the quotient 1 as the next digit in the result. 
Result so far: 6401.0
The remainder is 398 after subtracting 628 from 1026.
Bring next digit (0) of the dividend behind the 398 and repeat the process: 3980 / 628

Advancing to step 8:
The number 628 fits into 3980 6 times, leaving a remainder of 212.
The number 6 becomes the next digit in our result. 
Result so far: 64016.0
If we subtract 3768 from 3980, we get 212.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2120, and continue the process.

On to step 9:
628 goes into 2120 3 times with a remainder of 236.
Use 3 as the next digit of our solution. 
Result so far: 64016.3
Subtracting 1884 from 2120 leaves us with 236.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2360, and continue the process.

On to step 10:
2360 divided by 628 is 3 with a remainder of 476.
Use 3 as the next digit of our solution. 
Result so far: 64016.33
The remainder is 476 after subtracting 1884 from 2360.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4760, and continue the process.

The final outcome is 64016.33, with a leftover of 0.476.