We're dividing 997177 by 39 
Let's see how many times 39 fits into 997177.

Going ahead to step 1:
9 divided by 39 is 0 with a remainder of 9.
Write down 0 as next digit of the result. 
Result so far: 0.0
If we take 0 away from 9, we end up with 9.
Include the next digit (9) from the dividend after 9, then repeat: 99 / 39

Advancing to step 2:
99 divided by 39 is 2 with a remainder of 21.
Write down 2 as next digit of the result. 
Result so far: 2.0
If we subtract 78 from 99, we get 21.
Take the next digit (7) from the dividend and append it to 21, then repeat: 217 / 39

Going ahead to step 3:
39 can be fit into 217 5 times, resulting in a remainder of 22.
Put 5 as the next digit of the answer. 
Result so far: 25.0
If we subtract 195 from 217, we get 22.
Fetch the next digit (1) from the dividend, attach it to 22 and continue: 221 / 39

Let's proceed to step 4:
221 divided by 39 is 5 with a remainder of 26.
Write down 5 as next digit of the result. 
Result so far: 255.0
If we take 195 away from 221, we end up with 26.
Grab the next digit (7) from the dividend, add it to 26, then carry on: 267 / 39

Let's proceed to step 5:
When dividing 267 by 39, we get 6 with a remainder of 33.
Put 6 as the next digit of the answer. 
Result so far: 2556.0
If we take 234 away from 267, we end up with 33.
Append the next digit (7) from the dividend to 33 and continue with: 337 / 39

Going ahead to step 6:
If we divide 337 by 39, we get 8 and a remainder of 25.
Write down 8 as next digit of the result. 
Result so far: 25568.0
If we take 312 away from 337, we end up with 25.
Since there are no more digits in the dividend, we add a zero to the remainder making it 250, and continue the process.

On to step 7:
If we divide 250 by 39, we get 6 and a remainder of 16.
Put 6 as the next digit of the answer. 
Result so far: 25568.6
Subtract 234 from 250 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.

Step 8:
When dividing 160 by 39, we get 4 with a remainder of 4.
The number 4 becomes the next digit in our result. 
Result so far: 25568.64
If we subtract 156 from 160, we get 4.
Since there are no more digits in the dividend, we add a zero to the remainder making it 40, and continue the process.

Let's proceed to step 9:
39 can be fit into 40 1 times, resulting in a remainder of 1.
Record the quotient 1 as the next digit in the result. 
Result so far: 25568.641
If we take 39 away from 40, we end up with 1.
Since there are no more digits in the dividend, we add a zero to the remainder making it 10, and continue the process.

On to step 10:
10 divided by 39 is 0 with a remainder of 10.
The number 0 becomes the next digit in our result. 
Result so far: 25568.641
The remainder is 10 after subtracting 0 from 10.
Since there are no more digits in the dividend, we add a zero to the remainder making it 100, and continue the process.

Advancing to step 11:
39 goes into 100 2 times with a remainder of 22.
Write down 2 as next digit of the result. 
Result so far: 25568.64102
The remainder is 22 after subtracting 78 from 100.
Since there are no more digits in the dividend, we add a zero to the remainder making it 220, and continue the process.

Step 12:
When dividing 220 by 39, we get 5 with a remainder of 25.
Record the quotient 5 as the next digit in the result. 
Result so far: 25568.641025
If we subtract 195 from 220, we get 25.
Since there are no more digits in the dividend, we add a zero to the remainder making it 250, and continue the process.

Moving on to step 13:
250 divided by 39 is 6 with a remainder of 16.
The number 6 becomes the next digit in our result. 
Result so far: 25568.6410256
If we take 234 away from 250, we end up 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.

Advancing to step 14:
160 divided by 39 is 4 with a remainder of 4.
Put 4 as the next digit of the answer. 
Result so far: 25568.64102564
Subtracting 156 from 160 leaves us with 4.
Since there are no more digits in the dividend, we add a zero to the remainder making it 40, and continue the process.

In conclusion, the division gives 25568.64102564 with a balance of 4e-09.