Let's divide 154299 by 31
Let's see how many times 31 fits into 154299.

Going ahead to step 1:
If we divide 1 by 31, we get 0 and a remainder of 1.
Write down 0 as next digit of the result. 
Result so far: 0.0
If we take 0 away from 1, we end up with 1.
Include the next digit (5) from the dividend after 1, then repeat: 15 / 31

Moving on to step 2:
31 goes into 15 0 times with a remainder of 15.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
Subtracting 0 from 15 leaves us with 15.
Grab the next digit (4) from the dividend, add it to 15, then carry on: 154 / 31

Advancing to step 3:
154 divided by 31 is 4 with a remainder of 30.
The next digit of our result is 4. 
Result so far: 4.0
If we subtract 124 from 154, we get 30.
Bring next digit (2) of the dividend behind the 30 and repeat the process: 302 / 31

Going ahead to step 4:
31 goes into 302 9 times with a remainder of 23.
Write down 9 as next digit of the result. 
Result so far: 49.0
Deduct 279 from 302 and we're left with 23.
Grab the next digit (9) from the dividend, add it to 23, then carry on: 239 / 31

Going ahead to step 5:
When dividing 239 by 31, we get 7 with a remainder of 22.
The number 7 becomes the next digit in our result. 
Result so far: 497.0
If we take 217 away from 239, we end up with 22.
Append the next digit (9) from the dividend to 22 and continue with: 229 / 31

Going ahead to step 6:
If we divide 229 by 31, we get 7 and a remainder of 12.
The next digit of our result is 7. 
Result so far: 4977.0
If we subtract 217 from 229, 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.

Going ahead to step 7:
When dividing 120 by 31, we get 3 with a remainder of 27.
Put 3 as the next digit of the answer. 
Result so far: 4977.3
Subtracting 93 from 120 leaves us with 27.
Since there are no more digits in the dividend, we add a zero to the remainder making it 270, and continue the process.

Advancing to step 8:
31 goes into 270 8 times with a remainder of 22.
The next digit of our result is 8. 
Result so far: 4977.38
If we take 248 away from 270, we end up with 22.
Since there are no more digits in the dividend, we add a zero to the remainder making it 220, and continue the process.

Advancing to step 9:
220 divided by 31 is 7 with a remainder of 3.
Record the quotient 7 as the next digit in the result. 
Result so far: 4977.387
Subtracting 217 from 220 leaves us 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.

On to step 10:
The number 31 fits into 30 0 times, leaving a remainder of 30.
The number 0 becomes the next digit in our result. 
Result so far: 4977.387
Deduct 0 from 30 and we're left with 30.
Since there are no more digits in the dividend, we add a zero to the remainder making it 300, and continue the process.

Step 11:
31 goes into 300 9 times with a remainder of 21.
Write down 9 as next digit of the result. 
Result so far: 4977.38709
If we take 279 away from 300, we end up with 21.
Since there are no more digits in the dividend, we add a zero to the remainder making it 210, and continue the process.

Advancing to step 12:
210 divided by 31 is 6 with a remainder of 24.
Put 6 as the next digit of the answer. 
Result so far: 4977.387096
If we subtract 186 from 210, we get 24.
Since there are no more digits in the dividend, we add a zero to the remainder making it 240, and continue the process.

Advancing to step 13:
If we divide 240 by 31, we get 7 and a remainder of 23.
The number 7 becomes the next digit in our result. 
Result so far: 4977.3870967
The remainder is 23 after subtracting 217 from 240.
Since there are no more digits in the dividend, we add a zero to the remainder making it 230, and continue the process.

Advancing to step 14:
31 goes into 230 7 times with a remainder of 13.
Write down 7 as next digit of the result. 
Result so far: 4977.38709677
Subtract 217 from 230 to get 13.
Since there are no more digits in the dividend, we add a zero to the remainder making it 130, and continue the process.

In conclusion, the division gives 4977.38709677 with a balance of 1.3e-08.