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

On to step 1:
8 divided by 40 is 0 with a remainder of 8.
Put 0 as the next digit of the answer. 
Result so far: 0.0
The remainder is 8 after subtracting 0 from 8.
Bring next digit (1) of the dividend behind the 8 and repeat the process: 81 / 40

Step 2:
40 goes into 81 2 times with a remainder of 1.
Record the quotient 2 as the next digit in the result. 
Result so far: 2.0
If we subtract 80 from 81, we get 1.
Bring next digit (8) of the dividend behind the 1 and repeat the process: 18 / 40

Step 3:
40 goes into 18 0 times with a remainder of 18.
Record the quotient 0 as the next digit in the result. 
Result so far: 20.0
Deduct 0 from 18 and we're left with 18.
Fetch the next digit (6) from the dividend, attach it to 18 and continue: 186 / 40

Step 4:
When dividing 186 by 40, we get 4 with a remainder of 26.
Put 4 as the next digit of the answer. 
Result so far: 204.0
If we take 160 away from 186, we end up with 26.
Bring next digit (5) of the dividend behind the 26 and repeat the process: 265 / 40

Going ahead to step 5:
40 goes into 265 6 times with a remainder of 25.
The next digit of our result is 6. 
Result so far: 2046.0
Subtract 240 from 265 to get 25.
Fetch the next digit (8) from the dividend, attach it to 25 and continue: 258 / 40

Step 6:
258 divided by 40 is 6 with a remainder of 18.
Use 6 as the next digit of our solution. 
Result so far: 20466.0
Subtracting 240 from 258 leaves us with 18.
Since there are no more digits in the dividend, we add a zero to the remainder making it 180, and continue the process.

On to step 7:
When dividing 180 by 40, we get 4 with a remainder of 20.
Put 4 as the next digit of the answer. 
Result so far: 20466.4
If we subtract 160 from 180, we 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 8:
If we divide 200 by 40, we get 5 and a remainder of 0.
Use 5 as the next digit of our solution. 
Result so far: 20466.45
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.

On to step 9:
If we divide 0 by 40, we get 0 and a remainder of 0.
The next digit of our result is 0. 
Result so far: 20466.45
The remainder is 0 after subtracting 0 from 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 10:
40 can be fit into 0 0 times, resulting in a remainder of 0.
Record the quotient 0 as the next digit in the result. 
Result so far: 20466.45
Subtract 0 from 0 to 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.

After the division, we end up with 20466.45 and a remainder of 0.0.