We're dividing 278797 by 31 
Let's see how many times 31 fits into 278797.

Advancing to step 1:
2 divided by 31 is 0 with a remainder of 2.
The next digit of our result is 0. 
Result so far: 0.0
Subtract 0 from 2 to get 2.
Grab the next digit (7) from the dividend, add it to 2, then carry on: 27 / 31

On to step 2:
If we divide 27 by 31, we get 0 and a remainder of 27.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
Subtracting 0 from 27 leaves us with 27.
Include the next digit (8) from the dividend after 27, then repeat: 278 / 31

Step 3:
31 can be fit into 278 8 times, resulting in a remainder of 30.
The next digit of our result is 8. 
Result so far: 8.0
Subtracting 248 from 278 leaves us with 30.
Bring next digit (7) of the dividend behind the 30 and repeat the process: 307 / 31

Going ahead to step 4:
31 can be fit into 307 9 times, resulting in a remainder of 28.
Use 9 as the next digit of our solution. 
Result so far: 89.0
Subtracting 279 from 307 leaves us with 28.
Bring next digit (9) of the dividend behind the 28 and repeat the process: 289 / 31

Moving on to step 5:
If we divide 289 by 31, we get 9 and a remainder of 10.
Write down 9 as next digit of the result. 
Result so far: 899.0
Deduct 279 from 289 and we're left with 10.
Grab the next digit (7) from the dividend, add it to 10, then carry on: 107 / 31

Step 6:
31 goes into 107 3 times with a remainder of 14.
Write down 3 as next digit of the result. 
Result so far: 8993.0
The remainder is 14 after subtracting 93 from 107.
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 7:
When dividing 140 by 31, we get 4 with a remainder of 16.
Put 4 as the next digit of the answer. 
Result so far: 8993.4
Subtract 124 from 140 to get 16.
Since there are no more digits in the dividend, we add a zero to the remainder making it 160, and continue the process.

On to step 8:
If we divide 160 by 31, we get 5 and a remainder of 5.
Record the quotient 5 as the next digit in the result. 
Result so far: 8993.45
Deduct 155 from 160 and we're left with 5.
Since there are no more digits in the dividend, we add a zero to the remainder making it 50, and continue the process.

Step 9:
31 can be fit into 50 1 times, resulting in a remainder of 19.
Record the quotient 1 as the next digit in the result. 
Result so far: 8993.451
Subtracting 31 from 50 leaves us 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.

Advancing to step 10:
190 divided by 31 is 6 with a remainder of 4.
Put 6 as the next digit of the answer. 
Result so far: 8993.4516
Deduct 186 from 190 and we're left with 4.
Since there are no more digits in the dividend, we add a zero to the remainder making it 40, and continue the process.

Let's proceed to step 11:
The number 31 fits into 40 1 times, leaving a remainder of 9.
The number 1 becomes the next digit in our result. 
Result so far: 8993.45161
Subtract 31 from 40 to get 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 12:
When dividing 90 by 31, we get 2 with a remainder of 28.
Use 2 as the next digit of our solution. 
Result so far: 8993.451612
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.

Going ahead to step 13:
When dividing 280 by 31, we get 9 with a remainder of 1.
The next digit of our result is 9. 
Result so far: 8993.4516129
If we take 279 away from 280, 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.

Moving on to step 14:
When dividing 10 by 31, we get 0 with a remainder of 10.
Write down 0 as next digit of the result. 
Result so far: 8993.4516129
If we take 0 away from 10, we end up 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.

The quotient of the division is 8993.4516129, and the remainder is 1e-08.