3197413 divided by 789 
We're looking to find how many times 789 goes into 3197413.

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

On to step 2:
789 goes into 31 0 times with a remainder of 31.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
Subtracting 0 from 31 leaves us with 31.
Include the next digit (9) from the dividend after 31, then repeat: 319 / 789

Moving on to step 3:
If we divide 319 by 789, we get 0 and a remainder of 319.
The next digit of our result is 0. 
Result so far: 0.0
Subtracting 0 from 319 leaves us with 319.
Include the next digit (7) from the dividend after 319, then repeat: 3197 / 789

Let's proceed to step 4:
3197 divided by 789 is 4 with a remainder of 41.
Use 4 as the next digit of our solution. 
Result so far: 4.0
Deduct 3156 from 3197 and we're left with 41.
Append the next digit (4) from the dividend to 41 and continue with: 414 / 789

On to step 5:
If we divide 414 by 789, we get 0 and a remainder of 414.
Write down 0 as next digit of the result. 
Result so far: 40.0
Subtract 0 from 414 to get 414.
Grab the next digit (1) from the dividend, add it to 414, then carry on: 4141 / 789

On to step 6:
If we divide 4141 by 789, we get 5 and a remainder of 196.
Write down 5 as next digit of the result. 
Result so far: 405.0
The remainder is 196 after subtracting 3945 from 4141.
Grab the next digit (3) from the dividend, add it to 196, then carry on: 1963 / 789

Going ahead to step 7:
When dividing 1963 by 789, we get 2 with a remainder of 385.
Put 2 as the next digit of the answer. 
Result so far: 4052.0
Subtracting 1578 from 1963 leaves us with 385.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3850, and continue the process.

Going ahead to step 8:
If we divide 3850 by 789, we get 4 and a remainder of 694.
The number 4 becomes the next digit in our result. 
Result so far: 4052.4
If we take 3156 away from 3850, we end up with 694.
Since there are no more digits in the dividend, we add a zero to the remainder making it 6940, and continue the process.

Let's proceed to step 9:
6940 divided by 789 is 8 with a remainder of 628.
Put 8 as the next digit of the answer. 
Result so far: 4052.48
Subtracting 6312 from 6940 leaves us with 628.
Since there are no more digits in the dividend, we add a zero to the remainder making it 6280, and continue the process.

Going ahead to step 10:
When dividing 6280 by 789, we get 7 with a remainder of 757.
Put 7 as the next digit of the answer. 
Result so far: 4052.487
Subtracting 5523 from 6280 leaves us with 757.
Since there are no more digits in the dividend, we add a zero to the remainder making it 7570, and continue the process.

Going ahead to step 11:
789 can be fit into 7570 9 times, resulting in a remainder of 469.
The number 9 becomes the next digit in our result. 
Result so far: 4052.4879
If we take 7101 away from 7570, we end up with 469.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4690, and continue the process.

Moving on to step 12:
4690 divided by 789 is 5 with a remainder of 745.
Use 5 as the next digit of our solution. 
Result so far: 4052.48795
Subtracting 3945 from 4690 leaves us with 745.
Since there are no more digits in the dividend, we add a zero to the remainder making it 7450, and continue the process.

Let's proceed to step 13:
If we divide 7450 by 789, we get 9 and a remainder of 349.
Record the quotient 9 as the next digit in the result. 
Result so far: 4052.487959
If we take 7101 away from 7450, we end up with 349.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3490, and continue the process.

Step 14:
When dividing 3490 by 789, we get 4 with a remainder of 334.
Put 4 as the next digit of the answer. 
Result so far: 4052.4879594
Subtract 3156 from 3490 to get 334.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3340, and continue the process.

Moving on to step 15:
The number 789 fits into 3340 4 times, leaving a remainder of 184.
Record the quotient 4 as the next digit in the result. 
Result so far: 4052.48795944
If we subtract 3156 from 3340, we get 184.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1840, and continue the process.

The final result is 4052.48795944 with a remainder of 1.84e-07.