We look at the division of 42727 by 40 
We want to figure out the number of times 42727 can be divided by 40.

Let's proceed to step 1:
40 goes into 4 0 times with a remainder of 4.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
Deduct 0 from 4 and we're left with 4.
Bring next digit (2) of the dividend behind the 4 and repeat the process: 42 / 40

Moving on to step 2:
The number 40 fits into 42 1 times, leaving a remainder of 2.
Put 1 as the next digit of the answer. 
Result so far: 1.0
If we take 40 away from 42, we end up with 2.
Append the next digit (7) from the dividend to 2 and continue with: 27 / 40

Going ahead to step 3:
When dividing 27 by 40, we get 0 with a remainder of 27.
Record the quotient 0 as the next digit in the result. 
Result so far: 10.0
If we subtract 0 from 27, we get 27.
Append the next digit (2) from the dividend to 27 and continue with: 272 / 40

Moving on to step 4:
40 can be fit into 272 6 times, resulting in a remainder of 32.
Put 6 as the next digit of the answer. 
Result so far: 106.0
If we subtract 240 from 272, we get 32.
Append the next digit (7) from the dividend to 32 and continue with: 327 / 40

On to step 5:
40 goes into 327 8 times with a remainder of 7.
The number 8 becomes the next digit in our result. 
Result so far: 1068.0
Subtract 320 from 327 to get 7.
Since there are no more digits in the dividend, we add a zero to the remainder making it 70, and continue the process.

Step 6:
When dividing 70 by 40, we get 1 with a remainder of 30.
The number 1 becomes the next digit in our result. 
Result so far: 1068.1
Subtracting 40 from 70 leaves us with 30.
Since there are no more digits in the dividend, we add a zero to the remainder making it 300, and continue the process.

Let's proceed to step 7:
40 can be fit into 300 7 times, resulting in a remainder of 20.
The number 7 becomes the next digit in our result. 
Result so far: 1068.17
Deduct 280 from 300 and we're left 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.

Moving on to step 8:
40 can be fit into 200 5 times, resulting in a remainder of 0.
Put 5 as the next digit of the answer. 
Result so far: 1068.175
Deduct 200 from 200 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.

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

Going ahead to step 10:
0 divided by 40 is 0 with a remainder of 0.
Write down 0 as next digit of the result. 
Result so far: 1068.175
If we take 0 away from 0, we end up 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 quotient of the division is 1068.175, and the remainder is 0.0.