40785 divided by 10 
Let's see how many times 10 fits into 40785.

Moving on to step 1:
10 can be fit into 4 0 times, resulting in a remainder of 4.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
If we take 0 away from 4, we end up with 4.
Include the next digit (0) from the dividend after 4, then repeat: 40 / 10

Going ahead to step 2:
10 goes into 40 4 times with a remainder of 0.
Write down 4 as next digit of the result. 
Result so far: 4.0
The remainder is 0 after subtracting 40 from 40.
Take the next digit (7) from the dividend and append it to 0, then repeat: 7 / 10

On to step 3:
10 can be fit into 7 0 times, resulting in a remainder of 7.
The next digit of our result is 0. 
Result so far: 40.0
Deduct 0 from 7 and we're left with 7.
Grab the next digit (8) from the dividend, add it to 7, then carry on: 78 / 10

Moving on to step 4:
78 divided by 10 is 7 with a remainder of 8.
Use 7 as the next digit of our solution. 
Result so far: 407.0
Subtracting 70 from 78 leaves us with 8.
Include the next digit (5) from the dividend after 8, then repeat: 85 / 10

Advancing to step 5:
The number 10 fits into 85 8 times, leaving a remainder of 5.
Record the quotient 8 as the next digit in the result. 
Result so far: 4078.0
If we take 80 away from 85, we end up with 5.
Since there are no more digits in the dividend, we add a zero to the remainder making it 50, and continue the process.

Advancing to step 6:
If we divide 50 by 10, we get 5 and a remainder of 0.
Record the quotient 5 as the next digit in the result. 
Result so far: 4078.5
If we subtract 50 from 50, 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 7:
When dividing 0 by 10, we get 0 with a remainder of 0.
Use 0 as the next digit of our solution. 
Result so far: 4078.5
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.

Step 8:
The number 10 fits into 0 0 times, leaving a remainder of 0.
Write down 0 as next digit of the result. 
Result so far: 4078.5
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.

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