We're dividing 42560958 by 789 
We want to divide 42560958 by 789.

Let's proceed to step 1:
If we divide 4 by 789, we get 0 and a remainder of 4.
Put 0 as the next digit of the answer. 
Result so far: 0.0
Subtracting 0 from 4 leaves us with 4.
Fetch the next digit (2) from the dividend, attach it to 4 and continue: 42 / 789

On to step 2:
789 goes into 42 0 times with a remainder of 42.
Put 0 as the next digit of the answer. 
Result so far: 0.0
Subtracting 0 from 42 leaves us with 42.
Append the next digit (5) from the dividend to 42 and continue with: 425 / 789

Step 3:
If we divide 425 by 789, we get 0 and a remainder of 425.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
Subtracting 0 from 425 leaves us with 425.
Bring next digit (6) of the dividend behind the 425 and repeat the process: 4256 / 789

On to step 4:
789 can be fit into 4256 5 times, resulting in a remainder of 311.
Record the quotient 5 as the next digit in the result. 
Result so far: 5.0
If we take 3945 away from 4256, we end up with 311.
Fetch the next digit (0) from the dividend, attach it to 311 and continue: 3110 / 789

Going ahead to step 5:
When dividing 3110 by 789, we get 3 with a remainder of 743.
The next digit of our result is 3. 
Result so far: 53.0
Subtract 2367 from 3110 to get 743.
Fetch the next digit (9) from the dividend, attach it to 743 and continue: 7439 / 789

Advancing to step 6:
7439 divided by 789 is 9 with a remainder of 338.
The number 9 becomes the next digit in our result. 
Result so far: 539.0
Subtracting 7101 from 7439 leaves us with 338.
Grab the next digit (5) from the dividend, add it to 338, then carry on: 3385 / 789

Advancing to step 7:
If we divide 3385 by 789, we get 4 and a remainder of 229.
The number 4 becomes the next digit in our result. 
Result so far: 5394.0
The remainder is 229 after subtracting 3156 from 3385.
Include the next digit (8) from the dividend after 229, then repeat: 2298 / 789

Advancing to step 8:
789 can be fit into 2298 2 times, resulting in a remainder of 720.
The number 2 becomes the next digit in our result. 
Result so far: 53942.0
Subtract 1578 from 2298 to 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.

Moving on to step 9:
789 goes into 7200 9 times with a remainder of 99.
Record the quotient 9 as the next digit in the result. 
Result so far: 53942.9
Subtract 7101 from 7200 to get 99.
Since there are no more digits in the dividend, we add a zero to the remainder making it 990, and continue the process.

Going ahead to step 10:
When dividing 990 by 789, we get 1 with a remainder of 201.
Record the quotient 1 as the next digit in the result. 
Result so far: 53942.91
Deduct 789 from 990 and we're left with 201.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2010, and continue the process.

Advancing to step 11:
If we divide 2010 by 789, we get 2 and a remainder of 432.
The next digit of our result is 2. 
Result so far: 53942.912
If we subtract 1578 from 2010, we get 432.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4320, and continue the process.

Advancing to step 12:
789 goes into 4320 5 times with a remainder of 375.
Use 5 as the next digit of our solution. 
Result so far: 53942.9125
Subtracting 3945 from 4320 leaves us with 375.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3750, and continue the process.

Going ahead to step 13:
If we divide 3750 by 789, we get 4 and a remainder of 594.
The next digit of our result is 4. 
Result so far: 53942.91254
Subtract 3156 from 3750 to get 594.
Since there are no more digits in the dividend, we add a zero to the remainder making it 5940, and continue the process.

Step 14:
If we divide 5940 by 789, we get 7 and a remainder of 417.
The number 7 becomes the next digit in our result. 
Result so far: 53942.912547
Subtracting 5523 from 5940 leaves us with 417.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4170, and continue the process.

Advancing to step 15:
The number 789 fits into 4170 5 times, leaving a remainder of 225.
Write down 5 as next digit of the result. 
Result so far: 53942.9125475
If we take 3945 away from 4170, we end up with 225.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2250, and continue the process.

Let's proceed to step 16:
789 goes into 2250 2 times with a remainder of 672.
The number 2 becomes the next digit in our result. 
Result so far: 53942.91254752
Subtracting 1578 from 2250 leaves us with 672.
Since there are no more digits in the dividend, we add a zero to the remainder making it 6720, and continue the process.

The final outcome is 53942.91254752, with a leftover of 6.72e-07.