40227 divided by 10 
We want to figure out the number of times 40227 can be divided by 10.

Advancing to step 1:
When dividing 4 by 10, we get 0 with a remainder of 4.
Use 0 as the next digit of our solution. 
Result so far: 0.0
If we subtract 0 from 4, we get 4.
Include the next digit (0) from the dividend after 4, then repeat: 40 / 10

Going ahead to step 2:
10 can be fit into 40 4 times, resulting in a remainder of 0.
The number 4 becomes the next digit in our result. 
Result so far: 4.0
Subtracting 40 from 40 leaves us with 0.
Grab the next digit (2) from the dividend, add it to 0, then carry on: 2 / 10

Moving on to step 3:
10 goes into 2 0 times with a remainder of 2.
The next digit of our result is 0. 
Result so far: 40.0
Deduct 0 from 2 and we're left with 2.
Take the next digit (2) from the dividend and append it to 2, then repeat: 22 / 10

Moving on to step 4:
If we divide 22 by 10, we get 2 and a remainder of 2.
Use 2 as the next digit of our solution. 
Result so far: 402.0
If we subtract 20 from 22, we get 2.
Grab the next digit (7) from the dividend, add it to 2, then carry on: 27 / 10

Advancing to step 5:
10 can be fit into 27 2 times, resulting in a remainder of 7.
Record the quotient 2 as the next digit in the result. 
Result so far: 4022.0
Deduct 20 from 27 and we're left with 7.
Since there are no more digits in the dividend, we add a zero to the remainder making it 70, and continue the process.

Advancing to step 6:
10 goes into 70 7 times with a remainder of 0.
Write down 7 as next digit of the result. 
Result so far: 4022.7
Deduct 70 from 70 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.

Moving on to step 7:
When dividing 0 by 10, we get 0 with a remainder of 0.
Put 0 as the next digit of the answer. 
Result so far: 4022.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.

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

The final result is 4022.7 with a remainder of 0.0.