Let's divide 240012 by 51
We want to divide 240012 by 51.

Advancing to step 1:
If we divide 2 by 51, we get 0 and a remainder of 2.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
If we subtract 0 from 2, we get 2.
Take the next digit (4) from the dividend and append it to 2, then repeat: 24 / 51

Going ahead to step 2:
If we divide 24 by 51, we get 0 and a remainder of 24.
Use 0 as the next digit of our solution. 
Result so far: 0.0
If we take 0 away from 24, we end up with 24.
Take the next digit (0) from the dividend and append it to 24, then repeat: 240 / 51

Moving on to step 3:
240 divided by 51 is 4 with a remainder of 36.
Record the quotient 4 as the next digit in the result. 
Result so far: 4.0
If we subtract 204 from 240, we get 36.
Take the next digit (0) from the dividend and append it to 36, then repeat: 360 / 51

Step 4:
360 divided by 51 is 7 with a remainder of 3.
Write down 7 as next digit of the result. 
Result so far: 47.0
The remainder is 3 after subtracting 357 from 360.
Fetch the next digit (1) from the dividend, attach it to 3 and continue: 31 / 51

Advancing to step 5:
51 goes into 31 0 times with a remainder of 31.
The next digit of our result is 0. 
Result so far: 470.0
If we subtract 0 from 31, we get 31.
Append the next digit (2) from the dividend to 31 and continue with: 312 / 51

On to step 6:
When dividing 312 by 51, we get 6 with a remainder of 6.
Use 6 as the next digit of our solution. 
Result so far: 4706.0
Subtract 306 from 312 to get 6.
Since there are no more digits in the dividend, we add a zero to the remainder making it 60, and continue the process.

On to step 7:
60 divided by 51 is 1 with a remainder of 9.
The next digit of our result is 1. 
Result so far: 4706.1
If we take 51 away from 60, we end up with 9.
Since there are no more digits in the dividend, we add a zero to the remainder making it 90, and continue the process.

Moving on to step 8:
51 can be fit into 90 1 times, resulting in a remainder of 39.
Put 1 as the next digit of the answer. 
Result so far: 4706.11
If we subtract 51 from 90, we get 39.
Since there are no more digits in the dividend, we add a zero to the remainder making it 390, and continue the process.

Our division results in 4706.11 with a remaining 0.039.