Let's divide 4318 by 31
We want to divide 4318 by 31.

Step 1:
The number 31 fits into 4 0 times, leaving a remainder of 4.
Use 0 as the next digit of our solution. 
Result so far: 0.0
Deduct 0 from 4 and we're left with 4.
Fetch the next digit (3) from the dividend, attach it to 4 and continue: 43 / 31

Step 2:
When dividing 43 by 31, we get 1 with a remainder of 12.
Use 1 as the next digit of our solution. 
Result so far: 1.0
Subtract 31 from 43 to get 12.
Bring next digit (1) of the dividend behind the 12 and repeat the process: 121 / 31

Let's proceed to step 3:
121 divided by 31 is 3 with a remainder of 28.
The number 3 becomes the next digit in our result. 
Result so far: 13.0
If we subtract 93 from 121, we get 28.
Append the next digit (8) from the dividend to 28 and continue with: 288 / 31

Advancing to step 4:
31 can be fit into 288 9 times, resulting in a remainder of 9.
Write down 9 as next digit of the result. 
Result so far: 139.0
If we take 279 away from 288, we end up 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.

Moving on to step 5:
31 goes into 90 2 times with a remainder of 28.
Record the quotient 2 as the next digit in the result. 
Result so far: 139.2
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 6:
31 can be fit into 280 9 times, resulting in a remainder of 1.
The next digit of our result is 9. 
Result so far: 139.29
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.

Advancing to step 7:
If we divide 10 by 31, we get 0 and a remainder of 10.
Record the quotient 0 as the next digit in the result. 
Result so far: 139.29
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.

Let's proceed to step 8:
If we divide 100 by 31, we get 3 and a remainder of 7.
Record the quotient 3 as the next digit in the result. 
Result so far: 139.2903
Subtract 93 from 100 to get 7.
Since there are no more digits in the dividend, we add a zero to the remainder making it 70, and continue the process.

Step 9:
When dividing 70 by 31, we get 2 with a remainder of 8.
Use 2 as the next digit of our solution. 
Result so far: 139.29032
The remainder is 8 after subtracting 62 from 70.
Since there are no more digits in the dividend, we add a zero to the remainder making it 80, and continue the process.

Advancing to step 10:
80 divided by 31 is 2 with a remainder of 18.
Record the quotient 2 as the next digit in the result. 
Result so far: 139.290322
If we subtract 62 from 80, we get 18.
Since there are no more digits in the dividend, we add a zero to the remainder making it 180, and continue the process.

After the division, we end up with 139.290322 and a remainder of 1.8e-06.