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

Moving on to step 1:
When dividing 1 by 40, we get 0 with a remainder of 1.
Use 0 as the next digit of our solution. 
Result so far: 0.0
Subtract 0 from 1 to get 1.
Take the next digit (0) from the dividend and append it to 1, then repeat: 10 / 40

Let's proceed to step 2:
The number 40 fits into 10 0 times, leaving a remainder of 10.
Put 0 as the next digit of the answer. 
Result so far: 0.0
Subtracting 0 from 10 leaves us with 10.
Bring next digit (0) of the dividend behind the 10 and repeat the process: 100 / 40

Advancing to step 3:
The number 40 fits into 100 2 times, leaving a remainder of 20.
Use 2 as the next digit of our solution. 
Result so far: 2.0
Deduct 80 from 100 and we're left with 20.
Bring next digit (6) of the dividend behind the 20 and repeat the process: 206 / 40

Advancing to step 4:
If we divide 206 by 40, we get 5 and a remainder of 6.
Record the quotient 5 as the next digit in the result. 
Result so far: 25.0
The remainder is 6 after subtracting 200 from 206.
Grab the next digit (2) from the dividend, add it to 6, then carry on: 62 / 40

Let's proceed to step 5:
The number 40 fits into 62 1 times, leaving a remainder of 22.
Use 1 as the next digit of our solution. 
Result so far: 251.0
If we take 40 away from 62, we end up with 22.
Take the next digit (8) from the dividend and append it to 22, then repeat: 228 / 40

Let's proceed to step 6:
When dividing 228 by 40, we get 5 with a remainder of 28.
The next digit of our result is 5. 
Result so far: 2515.0
Subtract 200 from 228 to get 28.
Since there are no more digits in the dividend, we add a zero to the remainder making it 280, and continue the process.

Going ahead to step 7:
If we divide 280 by 40, we get 7 and a remainder of 0.
Write down 7 as next digit of the result. 
Result so far: 2515.7
If we take 280 away from 280, we end up 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.

Advancing to step 8:
When dividing 0 by 40, we get 0 with a remainder of 0.
Write down 0 as next digit of the result. 
Result so far: 2515.7
If we subtract 0 from 0, we get 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:
0 divided by 40 is 0 with a remainder of 0.
Record the quotient 0 as the next digit in the result. 
Result so far: 2515.7
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.

The final outcome is 2515.7, with a leftover of 0.0.