Let's divide 12189158 by 518
Let's see how many times 518 fits into 12189158.

Advancing to step 1:
If we divide 1 by 518, we get 0 and a remainder of 1.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
If we subtract 0 from 1, we get 1.
Take the next digit (2) from the dividend and append it to 1, then repeat: 12 / 518

Step 2:
The number 518 fits into 12 0 times, leaving a remainder of 12.
Put 0 as the next digit of the answer. 
Result so far: 0.0
Deduct 0 from 12 and we're left with 12.
Bring next digit (1) of the dividend behind the 12 and repeat the process: 121 / 518

Let's proceed to step 3:
The number 518 fits into 121 0 times, leaving a remainder of 121.
Use 0 as the next digit of our solution. 
Result so far: 0.0
If we subtract 0 from 121, we get 121.
Fetch the next digit (8) from the dividend, attach it to 121 and continue: 1218 / 518

Advancing to step 4:
1218 divided by 518 is 2 with a remainder of 182.
The next digit of our result is 2. 
Result so far: 2.0
Deduct 1036 from 1218 and we're left with 182.
Append the next digit (9) from the dividend to 182 and continue with: 1829 / 518

Moving on to step 5:
If we divide 1829 by 518, we get 3 and a remainder of 275.
Put 3 as the next digit of the answer. 
Result so far: 23.0
If we subtract 1554 from 1829, we get 275.
Grab the next digit (1) from the dividend, add it to 275, then carry on: 2751 / 518

Step 6:
The number 518 fits into 2751 5 times, leaving a remainder of 161.
Record the quotient 5 as the next digit in the result. 
Result so far: 235.0
Subtract 2590 from 2751 to get 161.
Take the next digit (5) from the dividend and append it to 161, then repeat: 1615 / 518

Moving on to step 7:
The number 518 fits into 1615 3 times, leaving a remainder of 61.
The next digit of our result is 3. 
Result so far: 2353.0
Subtracting 1554 from 1615 leaves us with 61.
Grab the next digit (8) from the dividend, add it to 61, then carry on: 618 / 518

Moving on to step 8:
If we divide 618 by 518, we get 1 and a remainder of 100.
Record the quotient 1 as the next digit in the result. 
Result so far: 23531.0
Deduct 518 from 618 and we're left with 100.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1000, and continue the process.

Moving on to step 9:
518 can be fit into 1000 1 times, resulting in a remainder of 482.
The next digit of our result is 1. 
Result so far: 23531.1
Deduct 518 from 1000 and we're left with 482.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4820, and continue the process.

Let's proceed to step 10:
518 can be fit into 4820 9 times, resulting in a remainder of 158.
Put 9 as the next digit of the answer. 
Result so far: 23531.19
Subtract 4662 from 4820 to get 158.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1580, and continue the process.

Going ahead to step 11:
1580 divided by 518 is 3 with a remainder of 26.
Put 3 as the next digit of the answer. 
Result so far: 23531.193
Subtract 1554 from 1580 to get 26.
Since there are no more digits in the dividend, we add a zero to the remainder making it 260, and continue the process.

Let's proceed to step 12:
518 can be fit into 260 0 times, resulting in a remainder of 260.
The number 0 becomes the next digit in our result. 
Result so far: 23531.193
The remainder is 260 after subtracting 0 from 260.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2600, and continue the process.

Let's proceed to step 13:
2600 divided by 518 is 5 with a remainder of 10.
Use 5 as the next digit of our solution. 
Result so far: 23531.19305
If we subtract 2590 from 2600, we get 10.
Since there are no more digits in the dividend, we add a zero to the remainder making it 100, and continue the process.

Step 14:
518 goes into 100 0 times with a remainder of 100.
Put 0 as the next digit of the answer. 
Result so far: 23531.19305
Subtract 0 from 100 to get 100.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1000, and continue the process.

Moving on to step 15:
The number 518 fits into 1000 1 times, leaving a remainder of 482.
The number 1 becomes the next digit in our result. 
Result so far: 23531.1930501
If we subtract 518 from 1000, we get 482.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4820, and continue the process.

Going ahead to step 16:
518 goes into 4820 9 times with a remainder of 158.
The next digit of our result is 9. 
Result so far: 23531.19305019
If we subtract 4662 from 4820, we get 158.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1580, and continue the process.

The quotient of the division is 23531.19305019, and the remainder is 1.58e-07.