We look at the division of 99816857 by 506 
We want to divide 99816857 by 506.

Advancing to step 1:
When dividing 9 by 506, we get 0 with a remainder of 9.
The next digit of our result is 0. 
Result so far: 0.0
If we take 0 away from 9, we end up with 9.
Fetch the next digit (9) from the dividend, attach it to 9 and continue: 99 / 506

Advancing to step 2:
506 goes into 99 0 times with a remainder of 99.
The next digit of our result is 0. 
Result so far: 0.0
Subtracting 0 from 99 leaves us with 99.
Include the next digit (8) from the dividend after 99, then repeat: 998 / 506

Advancing to step 3:
506 can be fit into 998 1 times, resulting in a remainder of 492.
Put 1 as the next digit of the answer. 
Result so far: 1.0
The remainder is 492 after subtracting 506 from 998.
Fetch the next digit (1) from the dividend, attach it to 492 and continue: 4921 / 506

Going ahead to step 4:
4921 divided by 506 is 9 with a remainder of 367.
Write down 9 as next digit of the result. 
Result so far: 19.0
Subtracting 4554 from 4921 leaves us with 367.
Include the next digit (6) from the dividend after 367, then repeat: 3676 / 506

Moving on to step 5:
When dividing 3676 by 506, we get 7 with a remainder of 134.
Use 7 as the next digit of our solution. 
Result so far: 197.0
The remainder is 134 after subtracting 3542 from 3676.
Take the next digit (8) from the dividend and append it to 134, then repeat: 1348 / 506

Moving on to step 6:
The number 506 fits into 1348 2 times, leaving a remainder of 336.
Record the quotient 2 as the next digit in the result. 
Result so far: 1972.0
If we subtract 1012 from 1348, we get 336.
Append the next digit (5) from the dividend to 336 and continue with: 3365 / 506

On to step 7:
506 can be fit into 3365 6 times, resulting in a remainder of 329.
The next digit of our result is 6. 
Result so far: 19726.0
The remainder is 329 after subtracting 3036 from 3365.
Include the next digit (7) from the dividend after 329, then repeat: 3297 / 506

Step 8:
When dividing 3297 by 506, we get 6 with a remainder of 261.
The number 6 becomes the next digit in our result. 
Result so far: 197266.0
If we subtract 3036 from 3297, we get 261.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2610, and continue the process.

Advancing to step 9:
The number 506 fits into 2610 5 times, leaving a remainder of 80.
Use 5 as the next digit of our solution. 
Result so far: 197266.5
Deduct 2530 from 2610 and we're left with 80.
Since there are no more digits in the dividend, we add a zero to the remainder making it 800, and continue the process.

Let's proceed to step 10:
The number 506 fits into 800 1 times, leaving a remainder of 294.
The next digit of our result is 1. 
Result so far: 197266.51
If we take 506 away from 800, we end up with 294.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2940, and continue the process.

Advancing to step 11:
When dividing 2940 by 506, we get 5 with a remainder of 410.
Write down 5 as next digit of the result. 
Result so far: 197266.515
Deduct 2530 from 2940 and we're left with 410.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4100, and continue the process.

Moving on to step 12:
506 goes into 4100 8 times with a remainder of 52.
Put 8 as the next digit of the answer. 
Result so far: 197266.5158
Deduct 4048 from 4100 and we're left with 52.
Since there are no more digits in the dividend, we add a zero to the remainder making it 520, and continue the process.

Step 13:
When dividing 520 by 506, we get 1 with a remainder of 14.
Put 1 as the next digit of the answer. 
Result so far: 197266.51581
Subtracting 506 from 520 leaves us with 14.
Since there are no more digits in the dividend, we add a zero to the remainder making it 140, and continue the process.

On to step 14:
506 can be fit into 140 0 times, resulting in a remainder of 140.
The number 0 becomes the next digit in our result. 
Result so far: 197266.51581
Subtract 0 from 140 to get 140.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1400, and continue the process.

Let's proceed to step 15:
1400 divided by 506 is 2 with a remainder of 388.
The number 2 becomes the next digit in our result. 
Result so far: 197266.5158102
Subtracting 1012 from 1400 leaves us with 388.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3880, and continue the process.

Advancing to step 16:
506 can be fit into 3880 7 times, resulting in a remainder of 338.
Use 7 as the next digit of our solution. 
Result so far: 197266.51581027
Subtracting 3542 from 3880 leaves us with 338.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3380, and continue the process.

The final result is 197266.51581027 with a remainder of 3.38e-07.