Let's divide 825770 by 40
We're looking to find how many times 40 goes into 825770.

Step 1:
40 goes into 8 0 times with a remainder of 8.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
Deduct 0 from 8 and we're left with 8.
Append the next digit (2) from the dividend to 8 and continue with: 82 / 40

Let's proceed to step 2:
If we divide 82 by 40, we get 2 and a remainder of 2.
Record the quotient 2 as the next digit in the result. 
Result so far: 2.0
If we take 80 away from 82, we end up with 2.
Bring next digit (5) of the dividend behind the 2 and repeat the process: 25 / 40

Moving on to step 3:
40 goes into 25 0 times with a remainder of 25.
Write down 0 as next digit of the result. 
Result so far: 20.0
Subtract 0 from 25 to get 25.
Append the next digit (7) from the dividend to 25 and continue with: 257 / 40

Going ahead to step 4:
257 divided by 40 is 6 with a remainder of 17.
The number 6 becomes the next digit in our result. 
Result so far: 206.0
Deduct 240 from 257 and we're left with 17.
Include the next digit (7) from the dividend after 17, then repeat: 177 / 40

Going ahead to step 5:
40 goes into 177 4 times with a remainder of 17.
The next digit of our result is 4. 
Result so far: 2064.0
Deduct 160 from 177 and we're left with 17.
Take the next digit (0) from the dividend and append it to 17, then repeat: 170 / 40

Step 6:
40 can be fit into 170 4 times, resulting in a remainder of 10.
The next digit of our result is 4. 
Result so far: 20644.0
If we take 160 away from 170, we end up with 10.
Since there are no more digits in the dividend, we add a zero to the remainder making it 100, and continue the process.

Going ahead to step 7:
The number 40 fits into 100 2 times, leaving a remainder of 20.
Use 2 as the next digit of our solution. 
Result so far: 20644.2
Subtracting 80 from 100 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.

On to step 8:
The number 40 fits into 200 5 times, leaving a remainder of 0.
The number 5 becomes the next digit in our result. 
Result so far: 20644.25
Subtracting 200 from 200 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.

Moving on to step 9:
40 goes into 0 0 times with a remainder of 0.
Record the quotient 0 as the next digit in the result. 
Result so far: 20644.25
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.

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: 20644.25
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.

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