Let's divide 628002 by 40
Our goal is to divide 628002 by 40.

Moving on to step 1:
40 goes into 6 0 times with a remainder of 6.
The next digit of our result is 0. 
Result so far: 0.0
Subtracting 0 from 6 leaves us with 6.
Bring next digit (2) of the dividend behind the 6 and repeat the process: 62 / 40

Going ahead to step 2:
The number 40 fits into 62 1 times, leaving a remainder of 22.
The next digit of our result is 1. 
Result so far: 1.0
The remainder is 22 after subtracting 40 from 62.
Fetch the next digit (8) from the dividend, attach it to 22 and continue: 228 / 40

Let's proceed to step 3:
The number 40 fits into 228 5 times, leaving a remainder of 28.
Write down 5 as next digit of the result. 
Result so far: 15.0
Deduct 200 from 228 and we're left with 28.
Append the next digit (0) from the dividend to 28 and continue with: 280 / 40

On to step 4:
When dividing 280 by 40, we get 7 with a remainder of 0.
Write down 7 as next digit of the result. 
Result so far: 157.0
If we subtract 280 from 280, we get 0.
Grab the next digit (0) from the dividend, add it to 0, then carry on: 0 / 40

Moving on to step 5:
When dividing 0 by 40, we get 0 with a remainder of 0.
Record the quotient 0 as the next digit in the result. 
Result so far: 1570.0
Deduct 0 from 0 and we're left with 0.
Fetch the next digit (2) from the dividend, attach it to 0 and continue: 2 / 40

Going ahead to step 6:
When dividing 2 by 40, we get 0 with a remainder of 2.
Put 0 as the next digit of the answer. 
Result so far: 15700.0
Subtracting 0 from 2 leaves us with 2.
Since there are no more digits in the dividend, we add a zero to the remainder making it 20, and continue the process.

Going ahead to step 7:
20 divided by 40 is 0 with a remainder of 20.
Record the quotient 0 as the next digit in the result. 
Result so far: 15700.0
If we take 0 away from 20, we end up with 20.
Since there are no more digits in the dividend, we add a zero to the remainder making it 200, and continue the process.

Advancing to step 8:
40 goes into 200 5 times with a remainder of 0.
Use 5 as the next digit of our solution. 
Result so far: 15700.05
Subtracting 200 from 200 leaves us with 0.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

Going ahead to step 9:
The number 40 fits into 0 0 times, leaving a remainder of 0.
Put 0 as the next digit of the answer. 
Result so far: 15700.05
Subtracting 0 from 0 leaves us with 0.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

Moving on to step 10:
0 divided by 40 is 0 with a remainder of 0.
Use 0 as the next digit of our solution. 
Result so far: 15700.05
Deduct 0 from 0 and we're left with 0.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

Our division results in 15700.05 with a remaining 0.0.