We're dividing 13340958 by 789 
Our goal is to divide 13340958 by 789.

Step 1:
789 can be fit into 1 0 times, resulting in a remainder of 1.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
If we subtract 0 from 1, we get 1.
Take the next digit (3) from the dividend and append it to 1, then repeat: 13 / 789

On to step 2:
The number 789 fits into 13 0 times, leaving a remainder of 13.
Put 0 as the next digit of the answer. 
Result so far: 0.0
If we subtract 0 from 13, we get 13.
Take the next digit (3) from the dividend and append it to 13, then repeat: 133 / 789

Step 3:
When dividing 133 by 789, we get 0 with a remainder of 133.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
Subtracting 0 from 133 leaves us with 133.
Append the next digit (4) from the dividend to 133 and continue with: 1334 / 789

Moving on to step 4:
789 goes into 1334 1 times with a remainder of 545.
Write down 1 as next digit of the result. 
Result so far: 1.0
The remainder is 545 after subtracting 789 from 1334.
Fetch the next digit (0) from the dividend, attach it to 545 and continue: 5450 / 789

Advancing to step 5:
789 can be fit into 5450 6 times, resulting in a remainder of 716.
The number 6 becomes the next digit in our result. 
Result so far: 16.0
The remainder is 716 after subtracting 4734 from 5450.
Grab the next digit (9) from the dividend, add it to 716, then carry on: 7169 / 789

Advancing to step 6:
When dividing 7169 by 789, we get 9 with a remainder of 68.
Record the quotient 9 as the next digit in the result. 
Result so far: 169.0
The remainder is 68 after subtracting 7101 from 7169.
Append the next digit (5) from the dividend to 68 and continue with: 685 / 789

Step 7:
When dividing 685 by 789, we get 0 with a remainder of 685.
The number 0 becomes the next digit in our result. 
Result so far: 1690.0
If we take 0 away from 685, we end up with 685.
Include the next digit (8) from the dividend after 685, then repeat: 6858 / 789

On to step 8:
6858 divided by 789 is 8 with a remainder of 546.
Put 8 as the next digit of the answer. 
Result so far: 16908.0
Deduct 6312 from 6858 and we're left with 546.
Since there are no more digits in the dividend, we add a zero to the remainder making it 5460, and continue the process.

Going ahead to step 9:
789 can be fit into 5460 6 times, resulting in a remainder of 726.
Write down 6 as next digit of the result. 
Result so far: 16908.6
The remainder is 726 after subtracting 4734 from 5460.
Since there are no more digits in the dividend, we add a zero to the remainder making it 7260, and continue the process.

On to step 10:
The number 789 fits into 7260 9 times, leaving a remainder of 159.
The next digit of our result is 9. 
Result so far: 16908.69
Subtracting 7101 from 7260 leaves us with 159.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1590, and continue the process.

Moving on to step 11:
789 can be fit into 1590 2 times, resulting in a remainder of 12.
The number 2 becomes the next digit in our result. 
Result so far: 16908.692
Subtract 1578 from 1590 to get 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 12:
The number 789 fits into 120 0 times, leaving a remainder of 120.
The number 0 becomes the next digit in our result. 
Result so far: 16908.692
Subtracting 0 from 120 leaves us with 120.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1200, and continue the process.

Going ahead to step 13:
789 goes into 1200 1 times with a remainder of 411.
Write down 1 as next digit of the result. 
Result so far: 16908.69201
If we take 789 away from 1200, we end up with 411.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4110, and continue the process.

Step 14:
4110 divided by 789 is 5 with a remainder of 165.
Use 5 as the next digit of our solution. 
Result so far: 16908.692015
Deduct 3945 from 4110 and we're left with 165.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1650, and continue the process.

Going ahead to step 15:
The number 789 fits into 1650 2 times, leaving a remainder of 72.
The number 2 becomes the next digit in our result. 
Result so far: 16908.6920152
Deduct 1578 from 1650 and we're left with 72.
Since there are no more digits in the dividend, we add a zero to the remainder making it 720, and continue the process.

Let's proceed to step 16:
720 divided by 789 is 0 with a remainder of 720.
The number 0 becomes the next digit in our result. 
Result so far: 16908.6920152
If we subtract 0 from 720, we get 720.
Since there are no more digits in the dividend, we add a zero to the remainder making it 7200, and continue the process.

Our division results in 16908.6920152 with a remaining 7.2e-07.