We look at the division of 3038583 by 789 
We want to figure out the number of times 3038583 can be divided by 789.

Step 1:
The number 789 fits into 3 0 times, leaving a remainder of 3.
Use 0 as the next digit of our solution. 
Result so far: 0.0
Subtract 0 from 3 to get 3.
Take the next digit (0) from the dividend and append it to 3, then repeat: 30 / 789

Let's proceed to step 2:
789 goes into 30 0 times with a remainder of 30.
Use 0 as the next digit of our solution. 
Result so far: 0.0
Subtract 0 from 30 to get 30.
Include the next digit (3) from the dividend after 30, then repeat: 303 / 789

Going ahead to step 3:
789 can be fit into 303 0 times, resulting in a remainder of 303.
Write down 0 as next digit of the result. 
Result so far: 0.0
Deduct 0 from 303 and we're left with 303.
Take the next digit (8) from the dividend and append it to 303, then repeat: 3038 / 789

On to step 4:
789 can be fit into 3038 3 times, resulting in a remainder of 671.
Put 3 as the next digit of the answer. 
Result so far: 3.0
If we take 2367 away from 3038, we end up with 671.
Fetch the next digit (5) from the dividend, attach it to 671 and continue: 6715 / 789

Going ahead to step 5:
If we divide 6715 by 789, we get 8 and a remainder of 403.
Record the quotient 8 as the next digit in the result. 
Result so far: 38.0
Subtract 6312 from 6715 to get 403.
Include the next digit (8) from the dividend after 403, then repeat: 4038 / 789

On to step 6:
789 goes into 4038 5 times with a remainder of 93.
Write down 5 as next digit of the result. 
Result so far: 385.0
The remainder is 93 after subtracting 3945 from 4038.
Fetch the next digit (3) from the dividend, attach it to 93 and continue: 933 / 789

On to step 7:
789 can be fit into 933 1 times, resulting in a remainder of 144.
Record the quotient 1 as the next digit in the result. 
Result so far: 3851.0
The remainder is 144 after subtracting 789 from 933.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1440, and continue the process.

Going ahead to step 8:
789 goes into 1440 1 times with a remainder of 651.
Put 1 as the next digit of the answer. 
Result so far: 3851.1
The remainder is 651 after subtracting 789 from 1440.
Since there are no more digits in the dividend, we add a zero to the remainder making it 6510, and continue the process.

Step 9:
789 can be fit into 6510 8 times, resulting in a remainder of 198.
Use 8 as the next digit of our solution. 
Result so far: 3851.18
The remainder is 198 after subtracting 6312 from 6510.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1980, and continue the process.

Step 10:
If we divide 1980 by 789, we get 2 and a remainder of 402.
Write down 2 as next digit of the result. 
Result so far: 3851.182
If we take 1578 away from 1980, we end up with 402.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4020, and continue the process.

Going ahead to step 11:
When dividing 4020 by 789, we get 5 with a remainder of 75.
Write down 5 as next digit of the result. 
Result so far: 3851.1825
Subtract 3945 from 4020 to get 75.
Since there are no more digits in the dividend, we add a zero to the remainder making it 750, and continue the process.

Advancing to step 12:
789 goes into 750 0 times with a remainder of 750.
The next digit of our result is 0. 
Result so far: 3851.1825
If we take 0 away from 750, we end up with 750.
Since there are no more digits in the dividend, we add a zero to the remainder making it 7500, and continue the process.

Advancing to step 13:
789 can be fit into 7500 9 times, resulting in a remainder of 399.
Put 9 as the next digit of the answer. 
Result so far: 3851.182509
The remainder is 399 after subtracting 7101 from 7500.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3990, and continue the process.

On to step 14:
When dividing 3990 by 789, we get 5 with a remainder of 45.
Record the quotient 5 as the next digit in the result. 
Result so far: 3851.1825095
The remainder is 45 after subtracting 3945 from 3990.
Since there are no more digits in the dividend, we add a zero to the remainder making it 450, and continue the process.

On to step 15:
When dividing 450 by 789, we get 0 with a remainder of 450.
The next digit of our result is 0. 
Result so far: 3851.1825095
Subtract 0 from 450 to get 450.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4500, and continue the process.

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