We divide 400719 by 31
We're looking to find how many times 31 goes into 400719.

Going ahead to step 1:
31 can be fit into 4 0 times, resulting in a remainder of 4.
Put 0 as the next digit of the answer. 
Result so far: 0.0
If we take 0 away from 4, we end up with 4.
Grab the next digit (0) from the dividend, add it to 4, then carry on: 40 / 31

Let's proceed to step 2:
40 divided by 31 is 1 with a remainder of 9.
Use 1 as the next digit of our solution. 
Result so far: 1.0
Subtracting 31 from 40 leaves us with 9.
Append the next digit (0) from the dividend to 9 and continue with: 90 / 31

Let's proceed to step 3:
The number 31 fits into 90 2 times, leaving a remainder of 28.
The next digit of our result is 2. 
Result so far: 12.0
Deduct 62 from 90 and we're left with 28.
Bring next digit (7) of the dividend behind the 28 and repeat the process: 287 / 31

Going ahead to step 4:
If we divide 287 by 31, we get 9 and a remainder of 8.
The next digit of our result is 9. 
Result so far: 129.0
Deduct 279 from 287 and we're left with 8.
Grab the next digit (1) from the dividend, add it to 8, then carry on: 81 / 31

Going ahead to step 5:
31 goes into 81 2 times with a remainder of 19.
The next digit of our result is 2. 
Result so far: 1292.0
The remainder is 19 after subtracting 62 from 81.
Bring next digit (9) of the dividend behind the 19 and repeat the process: 199 / 31

Step 6:
199 divided by 31 is 6 with a remainder of 13.
The number 6 becomes the next digit in our result. 
Result so far: 12926.0
Subtract 186 from 199 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.

Going ahead to step 7:
If we divide 130 by 31, we get 4 and a remainder of 6.
The next digit of our result is 4. 
Result so far: 12926.4
If we take 124 away from 130, we end up with 6.
Since there are no more digits in the dividend, we add a zero to the remainder making it 60, and continue the process.

Going ahead to step 8:
If we divide 60 by 31, we get 1 and a remainder of 29.
Put 1 as the next digit of the answer. 
Result so far: 12926.41
If we subtract 31 from 60, we get 29.
Since there are no more digits in the dividend, we add a zero to the remainder making it 290, and continue the process.

Let's proceed to step 9:
31 goes into 290 9 times with a remainder of 11.
Put 9 as the next digit of the answer. 
Result so far: 12926.419
Subtracting 279 from 290 leaves us with 11.
Since there are no more digits in the dividend, we add a zero to the remainder making it 110, and continue the process.

Going ahead to step 10:
31 can be fit into 110 3 times, resulting in a remainder of 17.
The number 3 becomes the next digit in our result. 
Result so far: 12926.4193
Deduct 93 from 110 and we're left 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 11:
31 goes into 170 5 times with a remainder of 15.
Put 5 as the next digit of the answer. 
Result so far: 12926.41935
If we subtract 155 from 170, we get 15.
Since there are no more digits in the dividend, we add a zero to the remainder making it 150, and continue the process.

Moving on to step 12:
31 goes into 150 4 times with a remainder of 26.
Use 4 as the next digit of our solution. 
Result so far: 12926.419354
If we take 124 away from 150, 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.

On to step 13:
If we divide 260 by 31, we get 8 and a remainder of 12.
Write down 8 as next digit of the result. 
Result so far: 12926.4193548
The remainder is 12 after subtracting 248 from 260.
Since there are no more digits in the dividend, we add a zero to the remainder making it 120, and continue the process.

Advancing to step 14:
31 goes into 120 3 times with a remainder of 27.
Use 3 as the next digit of our solution. 
Result so far: 12926.41935483
Deduct 93 from 120 and we're left 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.

Our division results in 12926.41935483 with a remaining 2.7e-08.