We look at the division of 354987 by 39 
Our goal is to divide 354987 by 39.

On to step 1:
The number 39 fits into 3 0 times, leaving a remainder of 3.
Use 0 as the next digit of our solution. 
Result so far: 0.0
If we take 0 away from 3, we end up with 3.
Fetch the next digit (5) from the dividend, attach it to 3 and continue: 35 / 39

On to step 2:
35 divided by 39 is 0 with a remainder of 35.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
If we subtract 0 from 35, we get 35.
Fetch the next digit (4) from the dividend, attach it to 35 and continue: 354 / 39

On to step 3:
If we divide 354 by 39, we get 9 and a remainder of 3.
The number 9 becomes the next digit in our result. 
Result so far: 9.0
If we take 351 away from 354, we end up with 3.
Take the next digit (9) from the dividend and append it to 3, then repeat: 39 / 39

Step 4:
39 can be fit into 39 1 times, resulting in a remainder of 0.
The number 1 becomes the next digit in our result. 
Result so far: 91.0
Subtract 39 from 39 to get 0.
Append the next digit (8) from the dividend to 0 and continue with: 8 / 39

Let's proceed to step 5:
39 can be fit into 8 0 times, resulting in a remainder of 8.
The next digit of our result is 0. 
Result so far: 910.0
Subtract 0 from 8 to get 8.
Take the next digit (7) from the dividend and append it to 8, then repeat: 87 / 39

Let's proceed to step 6:
39 goes into 87 2 times with a remainder of 9.
The number 2 becomes the next digit in our result. 
Result so far: 9102.0
If we subtract 78 from 87, we get 9.
Since there are no more digits in the dividend, we add a zero to the remainder making it 90, and continue the process.

Let's proceed to step 7:
When dividing 90 by 39, we get 2 with a remainder of 12.
Put 2 as the next digit of the answer. 
Result so far: 9102.2
The remainder is 12 after subtracting 78 from 90.
Since there are no more digits in the dividend, we add a zero to the remainder making it 120, and continue the process.

Advancing to step 8:
When dividing 120 by 39, we get 3 with a remainder of 3.
Put 3 as the next digit of the answer. 
Result so far: 9102.23
Subtract 117 from 120 to get 3.
Since there are no more digits in the dividend, we add a zero to the remainder making it 30, and continue the process.

Advancing to step 9:
When dividing 30 by 39, we get 0 with a remainder of 30.
Use 0 as the next digit of our solution. 
Result so far: 9102.23
If we subtract 0 from 30, we get 30.
Since there are no more digits in the dividend, we add a zero to the remainder making it 300, and continue the process.

Step 10:
39 can be fit into 300 7 times, resulting in a remainder of 27.
Record the quotient 7 as the next digit in the result. 
Result so far: 9102.2307
If we subtract 273 from 300, we get 27.
Since there are no more digits in the dividend, we add a zero to the remainder making it 270, and continue the process.

Going ahead to step 11:
270 divided by 39 is 6 with a remainder of 36.
The number 6 becomes the next digit in our result. 
Result so far: 9102.23076
The remainder is 36 after subtracting 234 from 270.
Since there are no more digits in the dividend, we add a zero to the remainder making it 360, and continue the process.

Moving on to step 12:
39 goes into 360 9 times with a remainder of 9.
The number 9 becomes the next digit in our result. 
Result so far: 9102.230769
Subtract 351 from 360 to get 9.
Since there are no more digits in the dividend, we add a zero to the remainder making it 90, and continue the process.

On to step 13:
90 divided by 39 is 2 with a remainder of 12.
Write down 2 as next digit of the result. 
Result so far: 9102.2307692
Subtracting 78 from 90 leaves us with 12.
Since there are no more digits in the dividend, we add a zero to the remainder making it 120, and continue the process.

Moving on to step 14:
39 goes into 120 3 times with a remainder of 3.
Put 3 as the next digit of the answer. 
Result so far: 9102.23076923
Subtract 117 from 120 to get 3.
Since there are no more digits in the dividend, we add a zero to the remainder making it 30, and continue the process.

Our division results in 9102.23076923 with a remaining 3e-09.