Let's divide 12512232 by 389
We want to divide 12512232 by 389.

Let's proceed to step 1:
When dividing 1 by 389, we get 0 with a remainder of 1.
Put 0 as the next digit of the answer. 
Result so far: 0.0
The remainder is 1 after subtracting 0 from 1.
Fetch the next digit (2) from the dividend, attach it to 1 and continue: 12 / 389

Step 2:
When dividing 12 by 389, we get 0 with a remainder of 12.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
If we subtract 0 from 12, we get 12.
Fetch the next digit (5) from the dividend, attach it to 12 and continue: 125 / 389

On to step 3:
The number 389 fits into 125 0 times, leaving a remainder of 125.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
Subtract 0 from 125 to get 125.
Take the next digit (1) from the dividend and append it to 125, then repeat: 1251 / 389

Step 4:
1251 divided by 389 is 3 with a remainder of 84.
Use 3 as the next digit of our solution. 
Result so far: 3.0
Subtract 1167 from 1251 to get 84.
Take the next digit (2) from the dividend and append it to 84, then repeat: 842 / 389

Step 5:
389 can be fit into 842 2 times, resulting in a remainder of 64.
The next digit of our result is 2. 
Result so far: 32.0
If we take 778 away from 842, we end up with 64.
Take the next digit (2) from the dividend and append it to 64, then repeat: 642 / 389

Moving on to step 6:
If we divide 642 by 389, we get 1 and a remainder of 253.
The next digit of our result is 1. 
Result so far: 321.0
Deduct 389 from 642 and we're left with 253.
Bring next digit (3) of the dividend behind the 253 and repeat the process: 2533 / 389

Let's proceed to step 7:
When dividing 2533 by 389, we get 6 with a remainder of 199.
Put 6 as the next digit of the answer. 
Result so far: 3216.0
If we take 2334 away from 2533, we end up with 199.
Bring next digit (2) of the dividend behind the 199 and repeat the process: 1992 / 389

On to step 8:
1992 divided by 389 is 5 with a remainder of 47.
The number 5 becomes the next digit in our result. 
Result so far: 32165.0
Deduct 1945 from 1992 and we're left with 47.
Since there are no more digits in the dividend, we add a zero to the remainder making it 470, and continue the process.

Going ahead to step 9:
If we divide 470 by 389, we get 1 and a remainder of 81.
Write down 1 as next digit of the result. 
Result so far: 32165.1
If we subtract 389 from 470, we get 81.
Since there are no more digits in the dividend, we add a zero to the remainder making it 810, and continue the process.

On to step 10:
If we divide 810 by 389, we get 2 and a remainder of 32.
Put 2 as the next digit of the answer. 
Result so far: 32165.12
Subtracting 778 from 810 leaves us with 32.
Since there are no more digits in the dividend, we add a zero to the remainder making it 320, and continue the process.

Let's proceed to step 11:
When dividing 320 by 389, we get 0 with a remainder of 320.
Put 0 as the next digit of the answer. 
Result so far: 32165.12
The remainder is 320 after subtracting 0 from 320.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3200, and continue the process.

Moving on to step 12:
3200 divided by 389 is 8 with a remainder of 88.
The number 8 becomes the next digit in our result. 
Result so far: 32165.1208
If we subtract 3112 from 3200, we get 88.
Since there are no more digits in the dividend, we add a zero to the remainder making it 880, and continue the process.

On to step 13:
389 goes into 880 2 times with a remainder of 102.
Put 2 as the next digit of the answer. 
Result so far: 32165.12082
If we take 778 away from 880, we end up with 102.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1020, and continue the process.

On to step 14:
389 can be fit into 1020 2 times, resulting in a remainder of 242.
The number 2 becomes the next digit in our result. 
Result so far: 32165.120822
Deduct 778 from 1020 and we're left with 242.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2420, and continue the process.

The final outcome is 32165.120822, with a leftover of 2.42e-05.