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

Moving on to step 1:
If we divide 3 by 789, we get 0 and a remainder of 3.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
Deduct 0 from 3 and we're left with 3.
Take the next digit (1) from the dividend and append it to 3, then repeat: 31 / 789

Let's proceed to step 2:
The number 789 fits into 31 0 times, leaving a remainder of 31.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
Subtracting 0 from 31 leaves us with 31.
Include the next digit (5) from the dividend after 31, then repeat: 315 / 789

Let's proceed to step 3:
789 goes into 315 0 times with a remainder of 315.
Use 0 as the next digit of our solution. 
Result so far: 0.0
Deduct 0 from 315 and we're left with 315.
Grab the next digit (4) from the dividend, add it to 315, then carry on: 3154 / 789

On to step 4:
When dividing 3154 by 789, we get 3 with a remainder of 787.
Use 3 as the next digit of our solution. 
Result so far: 3.0
The remainder is 787 after subtracting 2367 from 3154.
Take the next digit (9) from the dividend and append it to 787, then repeat: 7879 / 789

Advancing to step 5:
789 can be fit into 7879 9 times, resulting in a remainder of 778.
Record the quotient 9 as the next digit in the result. 
Result so far: 39.0
Deduct 7101 from 7879 and we're left with 778.
Append the next digit (4) from the dividend to 778 and continue with: 7784 / 789

Let's proceed to step 6:
If we divide 7784 by 789, we get 9 and a remainder of 683.
Write down 9 as next digit of the result. 
Result so far: 399.0
The remainder is 683 after subtracting 7101 from 7784.
Take the next digit (6) from the dividend and append it to 683, then repeat: 6836 / 789

Step 7:
If we divide 6836 by 789, we get 8 and a remainder of 524.
Use 8 as the next digit of our solution. 
Result so far: 3998.0
Subtract 6312 from 6836 to get 524.
Take the next digit (9) from the dividend and append it to 524, then repeat: 5249 / 789

Advancing to step 8:
789 can be fit into 5249 6 times, resulting in a remainder of 515.
The next digit of our result is 6. 
Result so far: 39986.0
If we subtract 4734 from 5249, we get 515.
Since there are no more digits in the dividend, we add a zero to the remainder making it 5150, and continue the process.

Step 9:
789 can be fit into 5150 6 times, resulting in a remainder of 416.
Put 6 as the next digit of the answer. 
Result so far: 39986.6
Deduct 4734 from 5150 and we're left with 416.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4160, and continue the process.

Moving on to step 10:
789 goes into 4160 5 times with a remainder of 215.
Write down 5 as next digit of the result. 
Result so far: 39986.65
Subtracting 3945 from 4160 leaves us with 215.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2150, and continue the process.

On to step 11:
2150 divided by 789 is 2 with a remainder of 572.
Write down 2 as next digit of the result. 
Result so far: 39986.652
If we subtract 1578 from 2150, we get 572.
Since there are no more digits in the dividend, we add a zero to the remainder making it 5720, and continue the process.

On to step 12:
5720 divided by 789 is 7 with a remainder of 197.
Put 7 as the next digit of the answer. 
Result so far: 39986.6527
Deduct 5523 from 5720 and we're left with 197.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1970, and continue the process.

Going ahead to step 13:
The number 789 fits into 1970 2 times, leaving a remainder of 392.
The next digit of our result is 2. 
Result so far: 39986.65272
The remainder is 392 after subtracting 1578 from 1970.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3920, and continue the process.

Going ahead to step 14:
789 can be fit into 3920 4 times, resulting in a remainder of 764.
Record the quotient 4 as the next digit in the result. 
Result so far: 39986.652724
Subtracting 3156 from 3920 leaves us with 764.
Since there are no more digits in the dividend, we add a zero to the remainder making it 7640, and continue the process.

Let's proceed to step 15:
If we divide 7640 by 789, we get 9 and a remainder of 539.
Write down 9 as next digit of the result. 
Result so far: 39986.6527249
The remainder is 539 after subtracting 7101 from 7640.
Since there are no more digits in the dividend, we add a zero to the remainder making it 5390, and continue the process.

Let's proceed to step 16:
5390 divided by 789 is 6 with a remainder of 656.
Use 6 as the next digit of our solution. 
Result so far: 39986.65272496
Subtract 4734 from 5390 to get 656.
Since there are no more digits in the dividend, we add a zero to the remainder making it 6560, and continue the process.

After the division, we end up with 39986.65272496 and a remainder of 6.56e-07.