Let's divide 255181 by 31
Our goal is to divide 255181 by 31.

Going ahead to step 1:
The number 31 fits into 2 0 times, leaving a remainder of 2.
Use 0 as the next digit of our solution. 
Result so far: 0.0
Subtract 0 from 2 to get 2.
Take the next digit (5) from the dividend and append it to 2, then repeat: 25 / 31

Step 2:
When dividing 25 by 31, we get 0 with a remainder of 25.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
If we take 0 away from 25, we end up with 25.
Include the next digit (5) from the dividend after 25, then repeat: 255 / 31

Going ahead to step 3:
31 can be fit into 255 8 times, resulting in a remainder of 7.
The next digit of our result is 8. 
Result so far: 8.0
Subtract 248 from 255 to get 7.
Fetch the next digit (1) from the dividend, attach it to 7 and continue: 71 / 31

Moving on to step 4:
31 can be fit into 71 2 times, resulting in a remainder of 9.
Write down 2 as next digit of the result. 
Result so far: 82.0
Subtract 62 from 71 to get 9.
Include the next digit (8) from the dividend after 9, then repeat: 98 / 31

On to step 5:
The number 31 fits into 98 3 times, leaving a remainder of 5.
Use 3 as the next digit of our solution. 
Result so far: 823.0
Deduct 93 from 98 and we're left with 5.
Grab the next digit (1) from the dividend, add it to 5, then carry on: 51 / 31

Step 6:
31 can be fit into 51 1 times, resulting in a remainder of 20.
The next digit of our result is 1. 
Result so far: 8231.0
If we subtract 31 from 51, we get 20.
Since there are no more digits in the dividend, we add a zero to the remainder making it 200, and continue the process.

Moving on to step 7:
If we divide 200 by 31, we get 6 and a remainder of 14.
Put 6 as the next digit of the answer. 
Result so far: 8231.6
Subtracting 186 from 200 leaves us 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.

On to step 8:
31 can be fit into 140 4 times, resulting in a remainder of 16.
Record the quotient 4 as the next digit in the result. 
Result so far: 8231.64
Subtracting 124 from 140 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.

Let's proceed to step 9:
If we divide 160 by 31, we get 5 and a remainder of 5.
The next digit of our result is 5. 
Result so far: 8231.645
The remainder is 5 after subtracting 155 from 160.
Since there are no more digits in the dividend, we add a zero to the remainder making it 50, and continue the process.

On to step 10:
50 divided by 31 is 1 with a remainder of 19.
The number 1 becomes the next digit in our result. 
Result so far: 8231.6451
Deduct 31 from 50 and we're left with 19.
Since there are no more digits in the dividend, we add a zero to the remainder making it 190, and continue the process.

Step 11:
The number 31 fits into 190 6 times, leaving a remainder of 4.
Record the quotient 6 as the next digit in the result. 
Result so far: 8231.64516
Subtract 186 from 190 to get 4.
Since there are no more digits in the dividend, we add a zero to the remainder making it 40, and continue the process.

Step 12:
When dividing 40 by 31, we get 1 with a remainder of 9.
The number 1 becomes the next digit in our result. 
Result so far: 8231.645161
Subtracting 31 from 40 leaves us 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.

Advancing to step 13:
31 can be fit into 90 2 times, resulting in a remainder of 28.
Write down 2 as next digit of the result. 
Result so far: 8231.6451612
If we take 62 away from 90, we end up with 28.
Since there are no more digits in the dividend, we add a zero to the remainder making it 280, and continue the process.

Step 14:
The number 31 fits into 280 9 times, leaving a remainder of 1.
The next digit of our result is 9. 
Result so far: 8231.64516129
Subtracting 279 from 280 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.

The final result is 8231.64516129 with a remainder of 1e-09.