Let's divide 626816 by 40
We want to divide 626816 by 40.

Step 1:
When dividing 6 by 40, we get 0 with a remainder of 6.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
If we take 0 away from 6, we end up with 6.
Take the next digit (2) from the dividend and append it to 6, then repeat: 62 / 40

Step 2:
40 goes into 62 1 times with 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.
Fetch the next digit (6) from the dividend, attach it to 22 and continue: 226 / 40

Advancing to step 3:
When dividing 226 by 40, we get 5 with a remainder of 26.
The next digit of our result is 5. 
Result so far: 15.0
Subtracting 200 from 226 leaves us with 26.
Fetch the next digit (8) from the dividend, attach it to 26 and continue: 268 / 40

Let's proceed to step 4:
40 can be fit into 268 6 times, resulting in a remainder of 28.
Write down 6 as next digit of the result. 
Result so far: 156.0
Subtracting 240 from 268 leaves us with 28.
Bring next digit (1) of the dividend behind the 28 and repeat the process: 281 / 40

Going ahead to step 5:
40 can be fit into 281 7 times, resulting in a remainder of 1.
The next digit of our result is 7. 
Result so far: 1567.0
Subtracting 280 from 281 leaves us with 1.
Bring next digit (6) of the dividend behind the 1 and repeat the process: 16 / 40

Step 6:
When dividing 16 by 40, we get 0 with a remainder of 16.
Put 0 as the next digit of the answer. 
Result so far: 15670.0
Deduct 0 from 16 and we're left with 16.
Since there are no more digits in the dividend, we add a zero to the remainder making it 160, and continue the process.

Moving on to step 7:
If we divide 160 by 40, we get 4 and a remainder of 0.
Record the quotient 4 as the next digit in the result. 
Result so far: 15670.4
Deduct 160 from 160 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.

Moving on to step 8:
40 can be fit into 0 0 times, resulting in a remainder of 0.
Write down 0 as next digit of the result. 
Result so far: 15670.4
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.

Moving on to step 9:
40 can be fit into 0 0 times, resulting in a remainder of 0.
Write down 0 as next digit of the result. 
Result so far: 15670.4
If we take 0 away from 0, 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.

The final result is 15670.4 with a remainder of 0.0.