96985799 divided by 504 
We want to figure out the number of times 96985799 can be divided by 504.

On to step 1:
9 divided by 504 is 0 with a remainder of 9.
Use 0 as the next digit of our solution. 
Result so far: 0.0
If we take 0 away from 9, we end up with 9.
Bring next digit (6) of the dividend behind the 9 and repeat the process: 96 / 504

Advancing to step 2:
The number 504 fits into 96 0 times, leaving a remainder of 96.
Write down 0 as next digit of the result. 
Result so far: 0.0
Deduct 0 from 96 and we're left with 96.
Bring next digit (9) of the dividend behind the 96 and repeat the process: 969 / 504

Step 3:
504 goes into 969 1 times with a remainder of 465.
Record the quotient 1 as the next digit in the result. 
Result so far: 1.0
The remainder is 465 after subtracting 504 from 969.
Append the next digit (8) from the dividend to 465 and continue with: 4658 / 504

On to step 4:
504 can be fit into 4658 9 times, resulting in a remainder of 122.
Use 9 as the next digit of our solution. 
Result so far: 19.0
Subtracting 4536 from 4658 leaves us with 122.
Append the next digit (5) from the dividend to 122 and continue with: 1225 / 504

Step 5:
504 goes into 1225 2 times with a remainder of 217.
Use 2 as the next digit of our solution. 
Result so far: 192.0
The remainder is 217 after subtracting 1008 from 1225.
Append the next digit (7) from the dividend to 217 and continue with: 2177 / 504

Going ahead to step 6:
The number 504 fits into 2177 4 times, leaving a remainder of 161.
The number 4 becomes the next digit in our result. 
Result so far: 1924.0
Subtract 2016 from 2177 to get 161.
Take the next digit (9) from the dividend and append it to 161, then repeat: 1619 / 504

Moving on to step 7:
504 can be fit into 1619 3 times, resulting in a remainder of 107.
The number 3 becomes the next digit in our result. 
Result so far: 19243.0
Subtract 1512 from 1619 to get 107.
Grab the next digit (9) from the dividend, add it to 107, then carry on: 1079 / 504

Moving on to step 8:
If we divide 1079 by 504, we get 2 and a remainder of 71.
Use 2 as the next digit of our solution. 
Result so far: 192432.0
Subtracting 1008 from 1079 leaves us with 71.
Since there are no more digits in the dividend, we add a zero to the remainder making it 710, and continue the process.

Going ahead to step 9:
When dividing 710 by 504, we get 1 with a remainder of 206.
Use 1 as the next digit of our solution. 
Result so far: 192432.1
Subtracting 504 from 710 leaves us with 206.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2060, and continue the process.

Step 10:
If we divide 2060 by 504, we get 4 and a remainder of 44.
Record the quotient 4 as the next digit in the result. 
Result so far: 192432.14
Subtract 2016 from 2060 to get 44.
Since there are no more digits in the dividend, we add a zero to the remainder making it 440, and continue the process.

Moving on to step 11:
The number 504 fits into 440 0 times, leaving a remainder of 440.
The next digit of our result is 0. 
Result so far: 192432.14
The remainder is 440 after subtracting 0 from 440.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4400, and continue the process.

Moving on to step 12:
504 can be fit into 4400 8 times, resulting in a remainder of 368.
Put 8 as the next digit of the answer. 
Result so far: 192432.1408
Subtract 4032 from 4400 to get 368.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3680, and continue the process.

Step 13:
When dividing 3680 by 504, we get 7 with a remainder of 152.
Write down 7 as next digit of the result. 
Result so far: 192432.14087
Subtracting 3528 from 3680 leaves us 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.

On to step 14:
504 can be fit into 1520 3 times, resulting in a remainder of 8.
The next digit of our result is 3. 
Result so far: 192432.140873
Subtracting 1512 from 1520 leaves us with 8.
Since there are no more digits in the dividend, we add a zero to the remainder making it 80, and continue the process.

Let's proceed to step 15:
When dividing 80 by 504, we get 0 with a remainder of 80.
Put 0 as the next digit of the answer. 
Result so far: 192432.140873
Subtracting 0 from 80 leaves us 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.

On to step 16:
When dividing 800 by 504, we get 1 with a remainder of 296.
Write down 1 as next digit of the result. 
Result so far: 192432.14087301
Subtracting 504 from 800 leaves us with 296.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2960, and continue the process.

The final outcome is 192432.14087301, with a leftover of 2.96e-07.