We're dividing 299376 by 51 
We want to figure out the number of times 299376 can be divided by 51.

Going ahead to step 1:
When dividing 2 by 51, we get 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.
Fetch the next digit (9) from the dividend, attach it to 2 and continue: 29 / 51

Advancing to step 2:
51 can be fit into 29 0 times, resulting in a remainder of 29.
Use 0 as the next digit of our solution. 
Result so far: 0.0
Deduct 0 from 29 and we're left with 29.
Fetch the next digit (9) from the dividend, attach it to 29 and continue: 299 / 51

On to step 3:
51 goes into 299 5 times with a remainder of 44.
Record the quotient 5 as the next digit in the result. 
Result so far: 5.0
Deduct 255 from 299 and we're left with 44.
Fetch the next digit (3) from the dividend, attach it to 44 and continue: 443 / 51

Step 4:
51 goes into 443 8 times with a remainder of 35.
The next digit of our result is 8. 
Result so far: 58.0
The remainder is 35 after subtracting 408 from 443.
Include the next digit (7) from the dividend after 35, then repeat: 357 / 51

Step 5:
If we divide 357 by 51, we get 7 and a remainder of 0.
Put 7 as the next digit of the answer. 
Result so far: 587.0
If we take 357 away from 357, we end up with 0.
Fetch the next digit (6) from the dividend, attach it to 0 and continue: 6 / 51

On to step 6:
When dividing 6 by 51, we get 0 with a remainder of 6.
The number 0 becomes the next digit in our result. 
Result so far: 5870.0
Deduct 0 from 6 and we're left with 6.
Since there are no more digits in the dividend, we add a zero to the remainder making it 60, and continue the process.

Step 7:
The number 51 fits into 60 1 times, leaving a remainder of 9.
Record the quotient 1 as the next digit in the result. 
Result so far: 5870.1
If we subtract 51 from 60, we get 9.
Since there are no more digits in the dividend, we add a zero to the remainder making it 90, and continue the process.

On to step 8:
The number 51 fits into 90 1 times, leaving a remainder of 39.
Write down 1 as next digit of the result. 
Result so far: 5870.11
Deduct 51 from 90 and we're left with 39.
Since there are no more digits in the dividend, we add a zero to the remainder making it 390, and continue the process.

After the division, we end up with 5870.11 and a remainder of 0.039.