We divide 158978 by 13
We want to divide 158978 by 13.

On to step 1:
The number 13 fits into 1 0 times, leaving a remainder of 1.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
The remainder is 1 after subtracting 0 from 1.
Take the next digit (5) from the dividend and append it to 1, then repeat: 15 / 13

On to step 2:
13 goes into 15 1 times with a remainder of 2.
Write down 1 as next digit of the result. 
Result so far: 1.0
Subtracting 13 from 15 leaves us with 2.
Fetch the next digit (8) from the dividend, attach it to 2 and continue: 28 / 13

Step 3:
If we divide 28 by 13, we get 2 and a remainder of 2.
The next digit of our result is 2. 
Result so far: 12.0
Deduct 26 from 28 and we're left with 2.
Take the next digit (9) from the dividend and append it to 2, then repeat: 29 / 13

Moving on to step 4:
29 divided by 13 is 2 with a remainder of 3.
The number 2 becomes the next digit in our result. 
Result so far: 122.0
If we subtract 26 from 29, we get 3.
Take the next digit (7) from the dividend and append it to 3, then repeat: 37 / 13

Step 5:
The number 13 fits into 37 2 times, leaving a remainder of 11.
Write down 2 as next digit of the result. 
Result so far: 1222.0
If we take 26 away from 37, we end up with 11.
Append the next digit (8) from the dividend to 11 and continue with: 118 / 13

Step 6:
If we divide 118 by 13, we get 9 and a remainder of 1.
Use 9 as the next digit of our solution. 
Result so far: 12229.0
Subtracting 117 from 118 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.

Let's proceed to step 7:
13 goes into 10 0 times with a remainder of 10.
The next digit of our result is 0. 
Result so far: 12229.0
Subtract 0 from 10 to 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.

Moving on to step 8:
When dividing 100 by 13, we get 7 with a remainder of 9.
The next digit of our result is 7. 
Result so far: 12229.07
Deduct 91 from 100 and we're left 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.

Going ahead to step 9:
If we divide 90 by 13, we get 6 and a remainder of 12.
Use 6 as the next digit of our solution. 
Result so far: 12229.076
If we subtract 78 from 90, we get 12.
Since there are no more digits in the dividend, we add a zero to the remainder making it 120, and continue the process.

Let's proceed to step 10:
If we divide 120 by 13, we get 9 and a remainder of 3.
Write down 9 as next digit of the result. 
Result so far: 12229.0769
If we take 117 away from 120, we end up with 3.
Since there are no more digits in the dividend, we add a zero to the remainder making it 30, and continue the process.

Going ahead to step 11:
30 divided by 13 is 2 with a remainder of 4.
Put 2 as the next digit of the answer. 
Result so far: 12229.07692
The remainder is 4 after subtracting 26 from 30.
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 12:
13 goes into 40 3 times with a remainder of 1.
Put 3 as the next digit of the answer. 
Result so far: 12229.076923
If we take 39 away from 40, we end up 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.

On to step 13:
13 goes into 10 0 times with a remainder of 10.
Use 0 as the next digit of our solution. 
Result so far: 12229.076923
Subtracting 0 from 10 leaves us with 10.
Since there are no more digits in the dividend, we add a zero to the remainder making it 100, and continue the process.

Going ahead to step 14:
13 can be fit into 100 7 times, resulting in a remainder of 9.
Use 7 as the next digit of our solution. 
Result so far: 12229.07692307
Deduct 91 from 100 and we're left 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.

The final result is 12229.07692307 with a remainder of 9e-09.