We divide 318997 by 1
We're looking to find how many times 1 goes into 318997.

Advancing to step 1:
If we divide 3 by 1, we get 3 and a remainder of 0.
Use 3 as the next digit of our solution. 
Result so far: 3.0
The remainder is 0 after subtracting 3 from 3.
Include the next digit (1) from the dividend after 0, then repeat: 1 / 1

On to step 2:
When dividing 1 by 1, we get 1 with a remainder of 0.
Write down 1 as next digit of the result. 
Result so far: 31.0
Deduct 1 from 1 and we're left with 0.
Grab the next digit (8) from the dividend, add it to 0, then carry on: 8 / 1

Going ahead to step 3:
When dividing 8 by 1, we get 8 with a remainder of 0.
The number 8 becomes the next digit in our result. 
Result so far: 318.0
If we take 8 away from 8, we end up with 0.
Fetch the next digit (9) from the dividend, attach it to 0 and continue: 9 / 1

Advancing to step 4:
1 can be fit into 9 9 times, resulting in a remainder of 0.
The number 9 becomes the next digit in our result. 
Result so far: 3189.0
Subtract 9 from 9 to get 0.
Bring next digit (9) of the dividend behind the 0 and repeat the process: 9 / 1

Step 5:
When dividing 9 by 1, we get 9 with a remainder of 0.
The next digit of our result is 9. 
Result so far: 31899.0
The remainder is 0 after subtracting 9 from 9.
Fetch the next digit (7) from the dividend, attach it to 0 and continue: 7 / 1

On to step 6:
The number 1 fits into 7 7 times, leaving a remainder of 0.
The next digit of our result is 7. 
Result so far: 318997.0
Subtract 7 from 7 to get 0.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

Going ahead to step 7:
1 goes into 0 0 times with a remainder of 0.
Use 0 as the next digit of our solution. 
Result so far: 318997.0
Subtracting 0 from 0 leaves us with 0.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

Going ahead to step 8:
When dividing 0 by 1, we get 0 with a remainder of 0.
Record the quotient 0 as the next digit in the result. 
Result so far: 318997.0
If we subtract 0 from 0, we get 0.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

In conclusion, the division gives 318997.0 with a balance of 0.0.