We're dividing 997319 by 3 
Let's see how many times 3 fits into 997319.

Going ahead to step 1:
The number 3 fits into 9 3 times, leaving a remainder of 0.
The next digit of our result is 3. 
Result so far: 3.0
If we take 9 away from 9, we end up with 0.
Include the next digit (9) from the dividend after 0, then repeat: 9 / 3

On to step 2:
If we divide 9 by 3, we get 3 and a remainder of 0.
Put 3 as the next digit of the answer. 
Result so far: 33.0
If we take 9 away from 9, we end up with 0.
Bring next digit (7) of the dividend behind the 0 and repeat the process: 7 / 3

Going ahead to step 3:
3 goes into 7 2 times with a remainder of 1.
Record the quotient 2 as the next digit in the result. 
Result so far: 332.0
Subtracting 6 from 7 leaves us with 1.
Grab the next digit (3) from the dividend, add it to 1, then carry on: 13 / 3

Step 4:
3 goes into 13 4 times with a remainder of 1.
Use 4 as the next digit of our solution. 
Result so far: 3324.0
Deduct 12 from 13 and we're left with 1.
Take the next digit (1) from the dividend and append it to 1, then repeat: 11 / 3

On to step 5:
The number 3 fits into 11 3 times, leaving a remainder of 2.
Use 3 as the next digit of our solution. 
Result so far: 33243.0
If we take 9 away from 11, we end up with 2.
Take the next digit (9) from the dividend and append it to 2, then repeat: 29 / 3

Advancing to step 6:
When dividing 29 by 3, we get 9 with a remainder of 2.
Record the quotient 9 as the next digit in the result. 
Result so far: 332439.0
Subtracting 27 from 29 leaves us with 2.
Since there are no more digits in the dividend, we add a zero to the remainder making it 20, and continue the process.

Let's proceed to step 7:
When dividing 20 by 3, we get 6 with a remainder of 2.
The next digit of our result is 6. 
Result so far: 332439.6
The remainder is 2 after subtracting 18 from 20.
Since there are no more digits in the dividend, we add a zero to the remainder making it 20, and continue the process.

Moving on to step 8:
If we divide 20 by 3, we get 6 and a remainder of 2.
The number 6 becomes the next digit in our result. 
Result so far: 332439.66
Subtracting 18 from 20 leaves us with 2.
Since there are no more digits in the dividend, we add a zero to the remainder making it 20, and continue the process.

The final outcome is 332439.66, with a leftover of 0.002.