We divide 627651 by 40
We want to divide 627651 by 40.

Let's proceed to step 1:
40 can be fit into 6 0 times, resulting in a remainder of 6.
The next digit of our result is 0. 
Result so far: 0.0
If we subtract 0 from 6, we get 6.
Include the next digit (2) from the dividend after 6, then repeat: 62 / 40

On to step 2:
The number 40 fits into 62 1 times, leaving a remainder of 22.
The number 1 becomes the next digit in our result. 
Result so far: 1.0
Subtract 40 from 62 to get 22.
Include the next digit (7) from the dividend after 22, then repeat: 227 / 40

Step 3:
When dividing 227 by 40, we get 5 with a remainder of 27.
Record the quotient 5 as the next digit in the result. 
Result so far: 15.0
Subtract 200 from 227 to get 27.
Append the next digit (6) from the dividend to 27 and continue with: 276 / 40

Advancing to step 4:
When dividing 276 by 40, we get 6 with a remainder of 36.
Record the quotient 6 as the next digit in the result. 
Result so far: 156.0
The remainder is 36 after subtracting 240 from 276.
Fetch the next digit (5) from the dividend, attach it to 36 and continue: 365 / 40

Advancing to step 5:
When dividing 365 by 40, we get 9 with a remainder of 5.
Record the quotient 9 as the next digit in the result. 
Result so far: 1569.0
Subtracting 360 from 365 leaves us with 5.
Take the next digit (1) from the dividend and append it to 5, then repeat: 51 / 40

Step 6:
40 goes into 51 1 times with a remainder of 11.
The number 1 becomes the next digit in our result. 
Result so far: 15691.0
If we take 40 away from 51, we end up with 11.
Since there are no more digits in the dividend, we add a zero to the remainder making it 110, and continue the process.

On to step 7:
When dividing 110 by 40, we get 2 with a remainder of 30.
Write down 2 as next digit of the result. 
Result so far: 15691.2
If we take 80 away from 110, we end up with 30.
Since there are no more digits in the dividend, we add a zero to the remainder making it 300, and continue the process.

Advancing to step 8:
When dividing 300 by 40, we get 7 with a remainder of 20.
Put 7 as the next digit of the answer. 
Result so far: 15691.27
Subtract 280 from 300 to get 20.
Since there are no more digits in the dividend, we add a zero to the remainder making it 200, and continue the process.

Moving on to step 9:
When dividing 200 by 40, we get 5 with a remainder of 0.
Put 5 as the next digit of the answer. 
Result so far: 15691.275
If we subtract 200 from 200, 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 10:
If we divide 0 by 40, we get 0 and a remainder of 0.
The number 0 becomes the next digit in our result. 
Result so far: 15691.275
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.

Let's proceed to step 11:
When dividing 0 by 40, we get 0 with a remainder of 0.
Use 0 as the next digit of our solution. 
Result so far: 15691.275
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.

Our division results in 15691.275 with a remaining 0.0.