We're dividing 240412 by 9 
Let's see how many times 9 fits into 240412.

Advancing to step 1:
2 divided by 9 is 0 with a remainder of 2.
Write down 0 as next digit of the result. 
Result so far: 0.0
If we subtract 0 from 2, we get 2.
Include the next digit (4) from the dividend after 2, then repeat: 24 / 9

On to step 2:
24 divided by 9 is 2 with a remainder of 6.
Use 2 as the next digit of our solution. 
Result so far: 2.0
If we subtract 18 from 24, we get 6.
Grab the next digit (0) from the dividend, add it to 6, then carry on: 60 / 9

On to step 3:
60 divided by 9 is 6 with a remainder of 6.
The number 6 becomes the next digit in our result. 
Result so far: 26.0
Subtracting 54 from 60 leaves us with 6.
Include the next digit (4) from the dividend after 6, then repeat: 64 / 9

Moving on to step 4:
If we divide 64 by 9, we get 7 and a remainder of 1.
The next digit of our result is 7. 
Result so far: 267.0
Subtract 63 from 64 to get 1.
Bring next digit (1) of the dividend behind the 1 and repeat the process: 11 / 9

Step 5:
The number 9 fits into 11 1 times, leaving a remainder of 2.
Record the quotient 1 as the next digit in the result. 
Result so far: 2671.0
If we subtract 9 from 11, we get 2.
Append the next digit (2) from the dividend to 2 and continue with: 22 / 9

On to step 6:
When dividing 22 by 9, we get 2 with a remainder of 4.
Record the quotient 2 as the next digit in the result. 
Result so far: 26712.0
If we take 18 away from 22, we end up with 4.
Since there are no more digits in the dividend, we add a zero to the remainder making it 40, and continue the process.

Going ahead to step 7:
40 divided by 9 is 4 with a remainder of 4.
Record the quotient 4 as the next digit in the result. 
Result so far: 26712.4
Deduct 36 from 40 and we're left with 4.
Since there are no more digits in the dividend, we add a zero to the remainder making it 40, and continue the process.

On to step 8:
The number 9 fits into 40 4 times, leaving a remainder of 4.
The next digit of our result is 4. 
Result so far: 26712.44
Subtract 36 from 40 to get 4.
Since there are no more digits in the dividend, we add a zero to the remainder making it 40, and continue the process.

The quotient of the division is 26712.44, and the remainder is 0.004.