Let's divide 499998 by 51
We're looking to find how many times 51 goes into 499998.

Advancing to step 1:
The number 51 fits into 4 0 times, leaving a remainder of 4.
Put 0 as the next digit of the answer. 
Result so far: 0.0
If we subtract 0 from 4, we get 4.
Take the next digit (9) from the dividend and append it to 4, then repeat: 49 / 51

Moving on to step 2:
49 divided by 51 is 0 with a remainder of 49.
Write down 0 as next digit of the result. 
Result so far: 0.0
Deduct 0 from 49 and we're left with 49.
Append the next digit (9) from the dividend to 49 and continue with: 499 / 51

Step 3:
51 can be fit into 499 9 times, resulting in a remainder of 40.
The next digit of our result is 9. 
Result so far: 9.0
Deduct 459 from 499 and we're left with 40.
Append the next digit (9) from the dividend to 40 and continue with: 409 / 51

On to step 4:
51 goes into 409 8 times with a remainder of 1.
Record the quotient 8 as the next digit in the result. 
Result so far: 98.0
Subtracting 408 from 409 leaves us with 1.
Include the next digit (9) from the dividend after 1, then repeat: 19 / 51

Going ahead to step 5:
19 divided by 51 is 0 with a remainder of 19.
Record the quotient 0 as the next digit in the result. 
Result so far: 980.0
Subtracting 0 from 19 leaves us with 19.
Grab the next digit (8) from the dividend, add it to 19, then carry on: 198 / 51

On to step 6:
When dividing 198 by 51, we get 3 with a remainder of 45.
Record the quotient 3 as the next digit in the result. 
Result so far: 9803.0
If we take 153 away from 198, we end up with 45.
Since there are no more digits in the dividend, we add a zero to the remainder making it 450, and continue the process.

Advancing to step 7:
The number 51 fits into 450 8 times, leaving a remainder of 42.
Put 8 as the next digit of the answer. 
Result so far: 9803.8
If we take 408 away from 450, we end up with 42.
Since there are no more digits in the dividend, we add a zero to the remainder making it 420, and continue the process.

On to step 8:
51 goes into 420 8 times with a remainder of 12.
Put 8 as the next digit of the answer. 
Result so far: 9803.88
Subtract 408 from 420 to get 12.
Since there are no more digits in the dividend, we add a zero to the remainder making it 120, and continue the process.

Our division results in 9803.88 with a remaining 0.012.