We look at the division of 997666 by 18 
Let's see how many times 18 fits into 997666.

Let's proceed to step 1:
18 goes into 9 0 times with a remainder of 9.
Put 0 as the next digit of the answer. 
Result so far: 0.0
Deduct 0 from 9 and we're left with 9.
Append the next digit (9) from the dividend to 9 and continue with: 99 / 18

Step 2:
The number 18 fits into 99 5 times, leaving a remainder of 9.
Write down 5 as next digit of the result. 
Result so far: 5.0
If we subtract 90 from 99, we get 9.
Append the next digit (7) from the dividend to 9 and continue with: 97 / 18

On to step 3:
18 goes into 97 5 times with a remainder of 7.
Put 5 as the next digit of the answer. 
Result so far: 55.0
The remainder is 7 after subtracting 90 from 97.
Grab the next digit (6) from the dividend, add it to 7, then carry on: 76 / 18

Let's proceed to step 4:
When dividing 76 by 18, we get 4 with a remainder of 4.
The next digit of our result is 4. 
Result so far: 554.0
Deduct 72 from 76 and we're left with 4.
Append the next digit (6) from the dividend to 4 and continue with: 46 / 18

On to step 5:
46 divided by 18 is 2 with a remainder of 10.
The next digit of our result is 2. 
Result so far: 5542.0
Subtract 36 from 46 to get 10.
Fetch the next digit (6) from the dividend, attach it to 10 and continue: 106 / 18

On to step 6:
If we divide 106 by 18, we get 5 and a remainder of 16.
The number 5 becomes the next digit in our result. 
Result so far: 55425.0
Subtract 90 from 106 to get 16.
Since there are no more digits in the dividend, we add a zero to the remainder making it 160, and continue the process.

Let's proceed to step 7:
160 divided by 18 is 8 with a remainder of 16.
Use 8 as the next digit of our solution. 
Result so far: 55425.8
Subtract 144 from 160 to get 16.
Since there are no more digits in the dividend, we add a zero to the remainder making it 160, and continue the process.

Advancing to step 8:
160 divided by 18 is 8 with a remainder of 16.
Record the quotient 8 as the next digit in the result. 
Result so far: 55425.88
Subtracting 144 from 160 leaves us with 16.
Since there are no more digits in the dividend, we add a zero to the remainder making it 160, and continue the process.

Our division results in 55425.88 with a remaining 0.016.