Let's divide 19998164 by 516
Our goal is to divide 19998164 by 516.

Advancing to step 1:
The number 516 fits into 1 0 times, leaving a remainder of 1.
Put 0 as the next digit of the answer. 
Result so far: 0.0
If we take 0 away from 1, we end up with 1.
Fetch the next digit (9) from the dividend, attach it to 1 and continue: 19 / 516

Moving on to step 2:
If we divide 19 by 516, we get 0 and a remainder of 19.
Put 0 as the next digit of the answer. 
Result so far: 0.0
If we subtract 0 from 19, we get 19.
Fetch the next digit (9) from the dividend, attach it to 19 and continue: 199 / 516

Going ahead to step 3:
When dividing 199 by 516, we get 0 with a remainder of 199.
Write down 0 as next digit of the result. 
Result so far: 0.0
The remainder is 199 after subtracting 0 from 199.
Fetch the next digit (9) from the dividend, attach it to 199 and continue: 1999 / 516

Going ahead to step 4:
When dividing 1999 by 516, we get 3 with a remainder of 451.
The next digit of our result is 3. 
Result so far: 3.0
If we subtract 1548 from 1999, we get 451.
Append the next digit (8) from the dividend to 451 and continue with: 4518 / 516

Moving on to step 5:
When dividing 4518 by 516, we get 8 with a remainder of 390.
Record the quotient 8 as the next digit in the result. 
Result so far: 38.0
The remainder is 390 after subtracting 4128 from 4518.
Grab the next digit (1) from the dividend, add it to 390, then carry on: 3901 / 516

Step 6:
516 goes into 3901 7 times with a remainder of 289.
Put 7 as the next digit of the answer. 
Result so far: 387.0
The remainder is 289 after subtracting 3612 from 3901.
Grab the next digit (6) from the dividend, add it to 289, then carry on: 2896 / 516

Let's proceed to step 7:
When dividing 2896 by 516, we get 5 with a remainder of 316.
Record the quotient 5 as the next digit in the result. 
Result so far: 3875.0
Subtract 2580 from 2896 to get 316.
Bring next digit (4) of the dividend behind the 316 and repeat the process: 3164 / 516

Let's proceed to step 8:
If we divide 3164 by 516, we get 6 and a remainder of 68.
The next digit of our result is 6. 
Result so far: 38756.0
Deduct 3096 from 3164 and we're left with 68.
Since there are no more digits in the dividend, we add a zero to the remainder making it 680, and continue the process.

On to step 9:
516 goes into 680 1 times with a remainder of 164.
Put 1 as the next digit of the answer. 
Result so far: 38756.1
If we subtract 516 from 680, we get 164.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1640, and continue the process.

Advancing to step 10:
If we divide 1640 by 516, we get 3 and a remainder of 92.
The next digit of our result is 3. 
Result so far: 38756.13
Deduct 1548 from 1640 and we're left with 92.
Since there are no more digits in the dividend, we add a zero to the remainder making it 920, and continue the process.

Step 11:
516 goes into 920 1 times with a remainder of 404.
The number 1 becomes the next digit in our result. 
Result so far: 38756.131
The remainder is 404 after subtracting 516 from 920.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4040, and continue the process.

Let's proceed to step 12:
The number 516 fits into 4040 7 times, leaving a remainder of 428.
Use 7 as the next digit of our solution. 
Result so far: 38756.1317
If we subtract 3612 from 4040, we get 428.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4280, and continue the process.

Advancing to step 13:
When dividing 4280 by 516, we get 8 with a remainder of 152.
Use 8 as the next digit of our solution. 
Result so far: 38756.13178
If we take 4128 away from 4280, we end up with 152.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1520, and continue the process.

Step 14:
If we divide 1520 by 516, we get 2 and a remainder of 488.
The next digit of our result is 2. 
Result so far: 38756.131782
Deduct 1032 from 1520 and we're left with 488.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4880, and continue the process.

Step 15:
If we divide 4880 by 516, we get 9 and a remainder of 236.
Put 9 as the next digit of the answer. 
Result so far: 38756.1317829
Subtracting 4644 from 4880 leaves us with 236.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2360, and continue the process.

Let's proceed to step 16:
When dividing 2360 by 516, we get 4 with a remainder of 296.
Write down 4 as next digit of the result. 
Result so far: 38756.13178294
If we subtract 2064 from 2360, we get 296.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2960, and continue the process.

After the division, we end up with 38756.13178294 and a remainder of 2.96e-07.