We're dividing 4040 by 36 
We're looking to find how many times 36 goes into 4040.

Advancing to step 1:
The number 36 fits into 4 0 times, leaving a remainder of 4.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
Subtract 0 from 4 to get 4.
Append the next digit (0) from the dividend to 4 and continue with: 40 / 36

On to step 2:
When dividing 40 by 36, we get 1 with a remainder of 4.
The next digit of our result is 1. 
Result so far: 1.0
If we subtract 36 from 40, we get 4.
Include the next digit (4) from the dividend after 4, then repeat: 44 / 36

Advancing to step 3:
36 goes into 44 1 times with a remainder of 8.
Write down 1 as next digit of the result. 
Result so far: 11.0
If we take 36 away from 44, we end up with 8.
Append the next digit (0) from the dividend to 8 and continue with: 80 / 36

On to step 4:
If we divide 80 by 36, we get 2 and a remainder of 8.
The number 2 becomes the next digit in our result. 
Result so far: 112.0
The remainder is 8 after subtracting 72 from 80.
Since there are no more digits in the dividend, we add a zero to the remainder making it 80, and continue the process.

On to step 5:
36 goes into 80 2 times with a remainder of 8.
The next digit of our result is 2. 
Result so far: 112.2
If we subtract 72 from 80, we get 8.
Since there are no more digits in the dividend, we add a zero to the remainder making it 80, and continue the process.

Step 6:
If we divide 80 by 36, we get 2 and a remainder of 8.
Use 2 as the next digit of our solution. 
Result so far: 112.22
The remainder is 8 after subtracting 72 from 80.
Since there are no more digits in the dividend, we add a zero to the remainder making it 80, and continue the process.

After the division, we end up with 112.22 and a remainder of 0.008.