We're dividing 8487938 by 997 
We're looking to find how many times 997 goes into 8487938.

Step 1:
8 divided by 997 is 0 with a remainder of 8.
Use 0 as the next digit of our solution. 
Result so far: 0.0
Subtract 0 from 8 to get 8.
Take the next digit (4) from the dividend and append it to 8, then repeat: 84 / 997

Going ahead to step 2:
997 can be fit into 84 0 times, resulting in a remainder of 84.
Write down 0 as next digit of the result. 
Result so far: 0.0
Subtracting 0 from 84 leaves us with 84.
Grab the next digit (8) from the dividend, add it to 84, then carry on: 848 / 997

Going ahead to step 3:
The number 997 fits into 848 0 times, leaving a remainder of 848.
Use 0 as the next digit of our solution. 
Result so far: 0.0
Subtracting 0 from 848 leaves us with 848.
Take the next digit (7) from the dividend and append it to 848, then repeat: 8487 / 997

Let's proceed to step 4:
The number 997 fits into 8487 8 times, leaving a remainder of 511.
The next digit of our result is 8. 
Result so far: 8.0
Subtract 7976 from 8487 to get 511.
Include the next digit (9) from the dividend after 511, then repeat: 5119 / 997

Advancing to step 5:
When dividing 5119 by 997, we get 5 with a remainder of 134.
The next digit of our result is 5. 
Result so far: 85.0
Deduct 4985 from 5119 and we're left with 134.
Grab the next digit (3) from the dividend, add it to 134, then carry on: 1343 / 997

On to step 6:
The number 997 fits into 1343 1 times, leaving a remainder of 346.
The next digit of our result is 1. 
Result so far: 851.0
The remainder is 346 after subtracting 997 from 1343.
Take the next digit (8) from the dividend and append it to 346, then repeat: 3468 / 997

Going ahead to step 7:
997 can be fit into 3468 3 times, resulting in a remainder of 477.
Use 3 as the next digit of our solution. 
Result so far: 8513.0
Subtracting 2991 from 3468 leaves us with 477.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4770, and continue the process.

Going ahead to step 8:
997 goes into 4770 4 times with a remainder of 782.
The number 4 becomes the next digit in our result. 
Result so far: 8513.4
The remainder is 782 after subtracting 3988 from 4770.
Since there are no more digits in the dividend, we add a zero to the remainder making it 7820, and continue the process.

Step 9:
If we divide 7820 by 997, we get 7 and a remainder of 841.
Use 7 as the next digit of our solution. 
Result so far: 8513.47
If we subtract 6979 from 7820, we get 841.
Since there are no more digits in the dividend, we add a zero to the remainder making it 8410, and continue the process.

Step 10:
When dividing 8410 by 997, we get 8 with a remainder of 434.
The number 8 becomes the next digit in our result. 
Result so far: 8513.478
Subtract 7976 from 8410 to get 434.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4340, and continue the process.

Moving on to step 11:
When dividing 4340 by 997, we get 4 with a remainder of 352.
The next digit of our result is 4. 
Result so far: 8513.4784
Subtracting 3988 from 4340 leaves us with 352.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3520, and continue the process.

Step 12:
If we divide 3520 by 997, we get 3 and a remainder of 529.
Use 3 as the next digit of our solution. 
Result so far: 8513.47843
Subtracting 2991 from 3520 leaves us with 529.
Since there are no more digits in the dividend, we add a zero to the remainder making it 5290, and continue the process.

Let's proceed to step 13:
When dividing 5290 by 997, we get 5 with a remainder of 305.
Write down 5 as next digit of the result. 
Result so far: 8513.478435
Subtracting 4985 from 5290 leaves us with 305.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3050, and continue the process.

Let's proceed to step 14:
If we divide 3050 by 997, we get 3 and a remainder of 59.
The number 3 becomes the next digit in our result. 
Result so far: 8513.4784353
Deduct 2991 from 3050 and we're left with 59.
Since there are no more digits in the dividend, we add a zero to the remainder making it 590, and continue the process.

Advancing to step 15:
The number 997 fits into 590 0 times, leaving a remainder of 590.
Use 0 as the next digit of our solution. 
Result so far: 8513.4784353
Subtracting 0 from 590 leaves us with 590.
Since there are no more digits in the dividend, we add a zero to the remainder making it 5900, and continue the process.

The quotient of the division is 8513.4784353, and the remainder is 5.9e-07.