We're dividing 12389465 by 585 
Our goal is to divide 12389465 by 585.

Advancing to step 1:
When dividing 1 by 585, we get 0 with a remainder of 1.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
Subtract 0 from 1 to get 1.
Include the next digit (2) from the dividend after 1, then repeat: 12 / 585

On to step 2:
If we divide 12 by 585, we get 0 and a remainder of 12.
Use 0 as the next digit of our solution. 
Result so far: 0.0
The remainder is 12 after subtracting 0 from 12.
Append the next digit (3) from the dividend to 12 and continue with: 123 / 585

Step 3:
585 goes into 123 0 times with a remainder of 123.
Put 0 as the next digit of the answer. 
Result so far: 0.0
Deduct 0 from 123 and we're left with 123.
Grab the next digit (8) from the dividend, add it to 123, then carry on: 1238 / 585

Going ahead to step 4:
585 can be fit into 1238 2 times, resulting in a remainder of 68.
Use 2 as the next digit of our solution. 
Result so far: 2.0
If we take 1170 away from 1238, we end up with 68.
Take the next digit (9) from the dividend and append it to 68, then repeat: 689 / 585

Going ahead to step 5:
689 divided by 585 is 1 with a remainder of 104.
Write down 1 as next digit of the result. 
Result so far: 21.0
Subtract 585 from 689 to get 104.
Take the next digit (4) from the dividend and append it to 104, then repeat: 1044 / 585

Let's proceed to step 6:
1044 divided by 585 is 1 with a remainder of 459.
The next digit of our result is 1. 
Result so far: 211.0
The remainder is 459 after subtracting 585 from 1044.
Take the next digit (6) from the dividend and append it to 459, then repeat: 4596 / 585

On to step 7:
When dividing 4596 by 585, we get 7 with a remainder of 501.
Use 7 as the next digit of our solution. 
Result so far: 2117.0
Deduct 4095 from 4596 and we're left with 501.
Include the next digit (5) from the dividend after 501, then repeat: 5015 / 585

Let's proceed to step 8:
585 goes into 5015 8 times with a remainder of 335.
The number 8 becomes the next digit in our result. 
Result so far: 21178.0
Subtract 4680 from 5015 to get 335.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3350, and continue the process.

Advancing to step 9:
When dividing 3350 by 585, we get 5 with a remainder of 425.
The next digit of our result is 5. 
Result so far: 21178.5
The remainder is 425 after subtracting 2925 from 3350.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4250, and continue the process.

Going ahead to step 10:
When dividing 4250 by 585, we get 7 with a remainder of 155.
Write down 7 as next digit of the result. 
Result so far: 21178.57
Deduct 4095 from 4250 and we're left with 155.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1550, and continue the process.

Let's proceed to step 11:
585 can be fit into 1550 2 times, resulting in a remainder of 380.
Record the quotient 2 as the next digit in the result. 
Result so far: 21178.572
The remainder is 380 after subtracting 1170 from 1550.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3800, and continue the process.

On to step 12:
3800 divided by 585 is 6 with a remainder of 290.
The next digit of our result is 6. 
Result so far: 21178.5726
If we subtract 3510 from 3800, we get 290.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2900, and continue the process.

Step 13:
When dividing 2900 by 585, we get 4 with a remainder of 560.
Write down 4 as next digit of the result. 
Result so far: 21178.57264
If we take 2340 away from 2900, we end up with 560.
Since there are no more digits in the dividend, we add a zero to the remainder making it 5600, and continue the process.

Let's proceed to step 14:
5600 divided by 585 is 9 with a remainder of 335.
The number 9 becomes the next digit in our result. 
Result so far: 21178.572649
If we take 5265 away from 5600, we end up with 335.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3350, and continue the process.

Step 15:
When dividing 3350 by 585, we get 5 with a remainder of 425.
Use 5 as the next digit of our solution. 
Result so far: 21178.5726495
Subtracting 2925 from 3350 leaves us with 425.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4250, and continue the process.

Step 16:
If we divide 4250 by 585, we get 7 and a remainder of 155.
Write down 7 as next digit of the result. 
Result so far: 21178.57264957
Deduct 4095 from 4250 and we're left with 155.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1550, and continue the process.

Our division results in 21178.57264957 with a remaining 1.55e-07.