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

Advancing to step 1:
19 can be fit into 5 0 times, resulting in a remainder of 5.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
Subtract 0 from 5 to get 5.
Append the next digit (8) from the dividend to 5 and continue with: 58 / 19

Going ahead to step 2:
When dividing 58 by 19, we get 3 with a remainder of 1.
The number 3 becomes the next digit in our result. 
Result so far: 3.0
If we subtract 57 from 58, we get 1.
Append the next digit (1) from the dividend to 1 and continue with: 11 / 19

Going ahead to step 3:
If we divide 11 by 19, we get 0 and a remainder of 11.
Put 0 as the next digit of the answer. 
Result so far: 30.0
Deduct 0 from 11 and we're left with 11.
Take the next digit (7) from the dividend and append it to 11, then repeat: 117 / 19

Advancing to step 4:
19 can be fit into 117 6 times, resulting in a remainder of 3.
The next digit of our result is 6. 
Result so far: 306.0
Subtracting 114 from 117 leaves us with 3.
Fetch the next digit (1) from the dividend, attach it to 3 and continue: 31 / 19

Advancing to step 5:
31 divided by 19 is 1 with a remainder of 12.
Write down 1 as next digit of the result. 
Result so far: 3061.0
If we take 19 away from 31, we end up with 12.
Since there are no more digits in the dividend, we add a zero to the remainder making it 120, and continue the process.

Moving on to step 6:
120 divided by 19 is 6 with a remainder of 6.
Write down 6 as next digit of the result. 
Result so far: 3061.6
Subtracting 114 from 120 leaves us with 6.
Since there are no more digits in the dividend, we add a zero to the remainder making it 60, and continue the process.

Going ahead to step 7:
If we divide 60 by 19, we get 3 and a remainder of 3.
Use 3 as the next digit of our solution. 
Result so far: 3061.63
Subtract 57 from 60 to get 3.
Since there are no more digits in the dividend, we add a zero to the remainder making it 30, and continue the process.

Step 8:
The number 19 fits into 30 1 times, leaving a remainder of 11.
Put 1 as the next digit of the answer. 
Result so far: 3061.631
If we take 19 away from 30, we end up with 11.
Since there are no more digits in the dividend, we add a zero to the remainder making it 110, and continue the process.

Advancing to step 9:
19 goes into 110 5 times with a remainder of 15.
Use 5 as the next digit of our solution. 
Result so far: 3061.6315
Deduct 95 from 110 and we're left with 15.
Since there are no more digits in the dividend, we add a zero to the remainder making it 150, and continue the process.

Let's proceed to step 10:
The number 19 fits into 150 7 times, leaving a remainder of 17.
Write down 7 as next digit of the result. 
Result so far: 3061.63157
Deduct 133 from 150 and we're left with 17.
Since there are no more digits in the dividend, we add a zero to the remainder making it 170, and continue the process.

Advancing to step 11:
The number 19 fits into 170 8 times, leaving a remainder of 18.
The next digit of our result is 8. 
Result so far: 3061.631578
Subtracting 152 from 170 leaves us with 18.
Since there are no more digits in the dividend, we add a zero to the remainder making it 180, and continue the process.

On to step 12:
If we divide 180 by 19, we get 9 and a remainder of 9.
Put 9 as the next digit of the answer. 
Result so far: 3061.6315789
If we take 171 away from 180, 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.

On to step 13:
When dividing 90 by 19, we get 4 with a remainder of 14.
Record the quotient 4 as the next digit in the result. 
Result so far: 3061.63157894
Deduct 76 from 90 and we're left with 14.
Since there are no more digits in the dividend, we add a zero to the remainder making it 140, and continue the process.

Our division results in 3061.63157894 with a remaining 1.4e-08.