800238 divided by 40 
We want to divide 800238 by 40.

Advancing to step 1:
When dividing 8 by 40, we get 0 with a remainder of 8.
Use 0 as the next digit of our solution. 
Result so far: 0.0
The remainder is 8 after subtracting 0 from 8.
Fetch the next digit (0) from the dividend, attach it to 8 and continue: 80 / 40

On to step 2:
40 can be fit into 80 2 times, resulting in a remainder of 0.
Write down 2 as next digit of the result. 
Result so far: 2.0
Subtract 80 from 80 to get 0.
Include the next digit (0) from the dividend after 0, then repeat: 0 / 40

Let's proceed to step 3:
When dividing 0 by 40, we get 0 with a remainder of 0.
The next digit of our result is 0. 
Result so far: 20.0
If we take 0 away from 0, we end up with 0.
Take the next digit (2) from the dividend and append it to 0, then repeat: 2 / 40

Advancing to step 4:
If we divide 2 by 40, we get 0 and a remainder of 2.
The number 0 becomes the next digit in our result. 
Result so far: 200.0
Subtract 0 from 2 to get 2.
Include the next digit (3) from the dividend after 2, then repeat: 23 / 40

Let's proceed to step 5:
40 goes into 23 0 times with a remainder of 23.
The number 0 becomes the next digit in our result. 
Result so far: 2000.0
The remainder is 23 after subtracting 0 from 23.
Fetch the next digit (8) from the dividend, attach it to 23 and continue: 238 / 40

Let's proceed to step 6:
238 divided by 40 is 5 with a remainder of 38.
The next digit of our result is 5. 
Result so far: 20005.0
If we subtract 200 from 238, we get 38.
Since there are no more digits in the dividend, we add a zero to the remainder making it 380, and continue the process.

Going ahead to step 7:
380 divided by 40 is 9 with a remainder of 20.
Put 9 as the next digit of the answer. 
Result so far: 20005.9
Subtracting 360 from 380 leaves us 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:
200 divided by 40 is 5 with a remainder of 0.
The next digit of our result is 5. 
Result so far: 20005.95
Subtract 200 from 200 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.

Advancing to step 9:
The number 40 fits into 0 0 times, leaving a remainder of 0.
Write down 0 as next digit of the result. 
Result so far: 20005.95
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.

Step 10:
When dividing 0 by 40, we get 0 with a remainder of 0.
The number 0 becomes the next digit in our result. 
Result so far: 20005.95
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.

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