Let's divide 518158 by 19
We want to divide 518158 by 19.

Step 1:
If we divide 5 by 19, we get 0 and a remainder of 5.
Put 0 as the next digit of the answer. 
Result so far: 0.0
Subtract 0 from 5 to get 5.
Grab the next digit (1) from the dividend, add it to 5, then carry on: 51 / 19

Step 2:
51 divided by 19 is 2 with a remainder of 13.
Record the quotient 2 as the next digit in the result. 
Result so far: 2.0
Subtract 38 from 51 to get 13.
Take the next digit (8) from the dividend and append it to 13, then repeat: 138 / 19

Going ahead to step 3:
19 can be fit into 138 7 times, resulting in a remainder of 5.
Put 7 as the next digit of the answer. 
Result so far: 27.0
The remainder is 5 after subtracting 133 from 138.
Bring next digit (1) of the dividend behind the 5 and repeat the process: 51 / 19

On to step 4:
When dividing 51 by 19, we get 2 with a remainder of 13.
The number 2 becomes the next digit in our result. 
Result so far: 272.0
Subtract 38 from 51 to get 13.
Append the next digit (5) from the dividend to 13 and continue with: 135 / 19

Going ahead to step 5:
When dividing 135 by 19, we get 7 with a remainder of 2.
Record the quotient 7 as the next digit in the result. 
Result so far: 2727.0
Subtracting 133 from 135 leaves us with 2.
Bring next digit (8) of the dividend behind the 2 and repeat the process: 28 / 19

Let's proceed to step 6:
28 divided by 19 is 1 with a remainder of 9.
The number 1 becomes the next digit in our result. 
Result so far: 27271.0
If we take 19 away from 28, we end up with 9.
Since there are no more digits in the dividend, we add a zero to the remainder making it 90, and continue the process.

Moving on to step 7:
If we divide 90 by 19, we get 4 and a remainder of 14.
Write down 4 as next digit of the result. 
Result so far: 27271.4
The remainder is 14 after subtracting 76 from 90.
Since there are no more digits in the dividend, we add a zero to the remainder making it 140, and continue the process.

Moving on to step 8:
140 divided by 19 is 7 with a remainder of 7.
Write down 7 as next digit of the result. 
Result so far: 27271.47
The remainder is 7 after subtracting 133 from 140.
Since there are no more digits in the dividend, we add a zero to the remainder making it 70, and continue the process.

Going ahead to step 9:
When dividing 70 by 19, we get 3 with a remainder of 13.
Use 3 as the next digit of our solution. 
Result so far: 27271.473
Deduct 57 from 70 and we're left with 13.
Since there are no more digits in the dividend, we add a zero to the remainder making it 130, and continue the process.

Moving on to step 10:
19 can be fit into 130 6 times, resulting in a remainder of 16.
The next digit of our result is 6. 
Result so far: 27271.4736
Subtracting 114 from 130 leaves us with 16.
Since there are no more digits in the dividend, we add a zero to the remainder making it 160, and continue the process.

Step 11:
160 divided by 19 is 8 with a remainder of 8.
The number 8 becomes the next digit in our result. 
Result so far: 27271.47368
Subtracting 152 from 160 leaves us with 8.
Since there are no more digits in the dividend, we add a zero to the remainder making it 80, and continue the process.

Step 12:
When dividing 80 by 19, we get 4 with a remainder of 4.
Write down 4 as next digit of the result. 
Result so far: 27271.473684
If we take 76 away from 80, we end up with 4.
Since there are no more digits in the dividend, we add a zero to the remainder making it 40, and continue the process.

Advancing to step 13:
40 divided by 19 is 2 with a remainder of 2.
The number 2 becomes the next digit in our result. 
Result so far: 27271.4736842
The remainder is 2 after subtracting 38 from 40.
Since there are no more digits in the dividend, we add a zero to the remainder making it 20, and continue the process.

Going ahead to step 14:
19 goes into 20 1 times with a remainder of 1.
The number 1 becomes the next digit in our result. 
Result so far: 27271.47368421
Subtracting 19 from 20 leaves us with 1.
Since there are no more digits in the dividend, we add a zero to the remainder making it 10, and continue the process.

In conclusion, the division gives 27271.47368421 with a balance of 1e-09.