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

Going ahead to step 1:
The number 31 fits into 6 0 times, leaving a remainder of 6.
The next digit of our result is 0. 
Result so far: 0.0
Subtract 0 from 6 to get 6.
Take the next digit (3) from the dividend and append it to 6, then repeat: 63 / 31

Going ahead to step 2:
31 can be fit into 63 2 times, resulting in a remainder of 1.
The number 2 becomes the next digit in our result. 
Result so far: 2.0
If we take 62 away from 63, we end up with 1.
Fetch the next digit (8) from the dividend, attach it to 1 and continue: 18 / 31

Let's proceed to step 3:
31 can be fit into 18 0 times, resulting in a remainder of 18.
The number 0 becomes the next digit in our result. 
Result so far: 20.0
Subtract 0 from 18 to get 18.
Grab the next digit (7) from the dividend, add it to 18, then carry on: 187 / 31

On to step 4:
31 goes into 187 6 times with a remainder of 1.
Put 6 as the next digit of the answer. 
Result so far: 206.0
Subtract 186 from 187 to get 1.
Since there are no more digits in the dividend, we add a zero to the remainder making it 10, and continue the process.

On to step 5:
The number 31 fits into 10 0 times, leaving a remainder of 10.
Put 0 as the next digit of the answer. 
Result so far: 206.0
Deduct 0 from 10 and we're left 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.

Going ahead to step 6:
If we divide 100 by 31, we get 3 and a remainder of 7.
Write down 3 as next digit of the result. 
Result so far: 206.03
If we subtract 93 from 100, we 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.

Moving on to step 7:
70 divided by 31 is 2 with a remainder of 8.
Put 2 as the next digit of the answer. 
Result so far: 206.032
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.

Moving on to step 8:
80 divided by 31 is 2 with a remainder of 18.
Write down 2 as next digit of the result. 
Result so far: 206.0322
The remainder is 18 after subtracting 62 from 80.
Since there are no more digits in the dividend, we add a zero to the remainder making it 180, and continue the process.

Our division results in 206.0322 with a remaining 0.00018.