Let's divide 158993 by 54
We want to divide 158993 by 54.

Going ahead to step 1:
The number 54 fits into 1 0 times, leaving a remainder of 1.
The next digit of our result is 0. 
Result so far: 0.0
Subtracting 0 from 1 leaves us with 1.
Append the next digit (5) from the dividend to 1 and continue with: 15 / 54

Advancing to step 2:
When dividing 15 by 54, we get 0 with a remainder of 15.
Put 0 as the next digit of the answer. 
Result so far: 0.0
Subtract 0 from 15 to get 15.
Grab the next digit (8) from the dividend, add it to 15, then carry on: 158 / 54

On to step 3:
When dividing 158 by 54, we get 2 with a remainder of 50.
Write down 2 as next digit of the result. 
Result so far: 2.0
Subtract 108 from 158 to get 50.
Include the next digit (9) from the dividend after 50, then repeat: 509 / 54

Let's proceed to step 4:
The number 54 fits into 509 9 times, leaving a remainder of 23.
Record the quotient 9 as the next digit in the result. 
Result so far: 29.0
Subtract 486 from 509 to get 23.
Append the next digit (9) from the dividend to 23 and continue with: 239 / 54

On to step 5:
When dividing 239 by 54, we get 4 with a remainder of 23.
The next digit of our result is 4. 
Result so far: 294.0
Subtract 216 from 239 to get 23.
Append the next digit (3) from the dividend to 23 and continue with: 233 / 54

Going ahead to step 6:
If we divide 233 by 54, we get 4 and a remainder of 17.
Use 4 as the next digit of our solution. 
Result so far: 2944.0
Subtracting 216 from 233 leaves us 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.

Let's proceed to step 7:
When dividing 170 by 54, we get 3 with a remainder of 8.
Write down 3 as next digit of the result. 
Result so far: 2944.3
If we subtract 162 from 170, we get 8.
Since there are no more digits in the dividend, we add a zero to the remainder making it 80, and continue the process.

Moving on to step 8:
54 can be fit into 80 1 times, resulting in a remainder of 26.
Record the quotient 1 as the next digit in the result. 
Result so far: 2944.31
Deduct 54 from 80 and we're left with 26.
Since there are no more digits in the dividend, we add a zero to the remainder making it 260, and continue the process.

Moving on to step 9:
When dividing 260 by 54, we get 4 with a remainder of 44.
Put 4 as the next digit of the answer. 
Result so far: 2944.314
If we take 216 away from 260, we end up with 44.
Since there are no more digits in the dividend, we add a zero to the remainder making it 440, and continue the process.

Advancing to step 10:
54 can be fit into 440 8 times, resulting in a remainder of 8.
The next digit of our result is 8. 
Result so far: 2944.3148
The remainder is 8 after subtracting 432 from 440.
Since there are no more digits in the dividend, we add a zero to the remainder making it 80, and continue the process.

Step 11:
When dividing 80 by 54, we get 1 with a remainder of 26.
The next digit of our result is 1. 
Result so far: 2944.31481
If we take 54 away from 80, we end up with 26.
Since there are no more digits in the dividend, we add a zero to the remainder making it 260, and continue the process.

Advancing to step 12:
The number 54 fits into 260 4 times, leaving a remainder of 44.
Record the quotient 4 as the next digit in the result. 
Result so far: 2944.314814
The remainder is 44 after subtracting 216 from 260.
Since there are no more digits in the dividend, we add a zero to the remainder making it 440, and continue the process.

Going ahead to step 13:
54 goes into 440 8 times with a remainder of 8.
Use 8 as the next digit of our solution. 
Result so far: 2944.3148148
If we take 432 away from 440, we end up 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.

Moving on to step 14:
If we divide 80 by 54, we get 1 and a remainder of 26.
The next digit of our result is 1. 
Result so far: 2944.31481481
If we take 54 away from 80, we end up with 26.
Since there are no more digits in the dividend, we add a zero to the remainder making it 260, and continue the process.

The final outcome is 2944.31481481, with a leftover of 2.6e-08.