We're dividing 850308 by 40 
We want to divide 850308 by 40.

Going ahead to step 1:
40 goes into 8 0 times with a remainder of 8.
Write down 0 as next digit of the result. 
Result so far: 0.0
If we subtract 0 from 8, we get 8.
Append the next digit (5) from the dividend to 8 and continue with: 85 / 40

Step 2:
The number 40 fits into 85 2 times, leaving a remainder of 5.
The next digit of our result is 2. 
Result so far: 2.0
If we subtract 80 from 85, we get 5.
Append the next digit (0) from the dividend to 5 and continue with: 50 / 40

Let's proceed to step 3:
50 divided by 40 is 1 with a remainder of 10.
The next digit of our result is 1. 
Result so far: 21.0
If we take 40 away from 50, we end up with 10.
Fetch the next digit (3) from the dividend, attach it to 10 and continue: 103 / 40

On to step 4:
The number 40 fits into 103 2 times, leaving a remainder of 23.
The number 2 becomes the next digit in our result. 
Result so far: 212.0
Subtracting 80 from 103 leaves us with 23.
Grab the next digit (0) from the dividend, add it to 23, then carry on: 230 / 40

Moving on to step 5:
40 can be fit into 230 5 times, resulting in a remainder of 30.
The next digit of our result is 5. 
Result so far: 2125.0
Subtracting 200 from 230 leaves us with 30.
Include the next digit (8) from the dividend after 30, then repeat: 308 / 40

Moving on to step 6:
308 divided by 40 is 7 with a remainder of 28.
Record the quotient 7 as the next digit in the result. 
Result so far: 21257.0
Subtracting 280 from 308 leaves us with 28.
Since there are no more digits in the dividend, we add a zero to the remainder making it 280, and continue the process.

Let's proceed to step 7:
When dividing 280 by 40, we get 7 with a remainder of 0.
Write down 7 as next digit of the result. 
Result so far: 21257.7
If we subtract 280 from 280, 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.

Advancing to step 8:
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: 21257.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.

Advancing to step 9:
When dividing 0 by 40, we get 0 with a remainder of 0.
The next digit of our result is 0. 
Result so far: 21257.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.

Our division results in 21257.7 with a remaining 0.0.